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

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.

An IDE is no substitute for an Intelligent Developer.
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
I agree. Here's the link:
subject: dataTableEx select/highlight row
It's not a secret anymore!