File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dataTableEx select/highlight row" Watch "dataTableEx select/highlight row" New topic
Author

dataTableEx select/highlight row

Zach Loughridge
Greenhorn

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: 16019
    
  20

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
Greenhorn

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dataTableEx select/highlight row