This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dataTableEx select/highlight row  RSS feed

 
Zach Loughridge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a dataTableEx connected to a list and works properly. What I would like to incorporate is the ability to select a row by the row itself and then highlight it accordingly just like the functionality of a checkbox. I will also need to be able to select multiple rows. How would I go about doing this?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Zach!

HTML/JSF don't really work quite the same way as native GUIs, so you wouldn't normally do this. Instead, you'd select rows by putting a row-selection control (checkbox) on each row.
 
Zach Loughridge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree after several hours of researching and attempting to wrap rows with hidden links or converters etc, I just ended up using a plain old selectBooleanCheckbox instead.

Oh and thenks for the welcome. Been using the site for several years now but finally decided to join
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!