datatables row select
datatables row select
Yebach
Posts: 4Questions: 2Answers: 0
Hello
I am using datatables together with web2py.
When I try to use row select, i can only select every other row if I use this code http://datatables.net/examples/api/select_row.html
Or I can select every other row and only first column of row in between if I add sRowSelect: "os", in tableTools
Any suggestions???
EDIT: Actually it is selected if I use the first example but it is not colored. Why?
Thank you
This discussion has been closed.
Answers
Every other row suggests to me that actually every row can be selected, but visually only every second row is shown as selected due to a CSS conflict.
Allan
How to manage that. I mean CSS conflict?
The example you linked to is working. So you need to establish what is different in your own version.
This happened to me. If you have the table-striped class on your table, you get this behavior. Removing the striping fixes it.