Forums Register Login

dataTableEx select/highlight row

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 865 times.
Similar Threads
Row highlight in a JTable
table row selected issue
Highlight row on value change
color row-x
getting table row number when link is clicked question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:47:02.