aspose file tools*
The moose likes JSF and the fly likes dataTableEx select/highlight row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "dataTableEx select/highlight row" Watch "dataTableEx select/highlight row" New topic

dataTableEx select/highlight row

Zach Loughridge

Joined: Feb 23, 2012
Posts: 4
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

Joined: Jun 25, 2001
Posts: 16145

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
Zach Loughridge

Joined: Feb 23, 2012
Posts: 4
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
It is sorta covered in the JavaRanch Style Guide.
subject: dataTableEx select/highlight row