Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dataTableEx select/highlight row

 
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
Saloon Keeper
Pie
Posts: 18098
50
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