Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: runtime selection of a row in uitable
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 2
Registered: 10/28/09
runtime selection of a row in uitable
Posted: Oct 28, 2009 9:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to highlight/select a row in a uitable during runtime (I am using version R2008b). I was able to get the underlying JTable object using Yair's findjobj function. Howerver, when I try to use JTable's setRowSelectionInterval() method, the row is not selected. Inspecting the properties of the uitable shows that no rows are selected. I also tried using the ListSelectionModel class to get the selection model of the table to select the row but no luck. I would be happy with just highlighting the row since I just want to point out an important pieces of data to the user. Any advice would be appreciated. Thanks.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.