use listbox to search data inside a uitable
3 views (last 30 days)
Show older comments
Hello everyone!
This time I have a question regarding uitable and listbox components. I have created a GUI where a table is filled with some data (the first columns are actually timestamps), and a listbox keeping track of some warnings containing a timestamp next to a message (saved as strings). What I would like to be able to do now, is to click for instance on a line of the listbox, compare it with the timestamps inside the data set of the uitable and let the uitable scroll directly to the interested line.
How can I manage this?
0 Comments
Answers (1)
Walter Roberson
on 4 Oct 2011
I suspect you would need to work at the Java level in order to scroll the uitable. If I recall past discussion, even just changing the selected object in a uitable doesn't really work without going to the java level.
(Personally I'd probably just toss a uipanel around the part to be scrolled, make sure that clipping is turned on in the uipanel, and then to change the scrolling, set() the Position of the object within the uipanel.)
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!