use listbox to search data inside a uitable
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Walter Roberson
am 4 Okt. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!