dtable onselect

Hi,
I have a datatable and the first column is a common.checkbox() .
What I am able to achieve is:
1. onclick (any column) checkbox will be checked/unchecked .
2. if clicking on the checkbox the row is marked( colored) by adding css to the row

What I cant achieve is:
mimic the functionality of multiselect but without the ctrl been hold.
I want all selected rows to be marked , but if I click on the row and then click on another row, the current row is unmarked.
I have tried to use the onAfterUnSelect and add the css to the unselected row but it wont work.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!