How do I get column name from selecting a row?
How do I get column name from selecting a row?
Struggling to find this in the docs. I need to select 1 row at a time in my table. When I select the row, it takes me to another page. I want to ignore this behavior for any cell clicked in the first column of every row. My idea is to somehow check what the column name is and use that to ignore the click or link to the other page. If anyone has other suggestions then please let me know. I've tried using CSS (see below) but this didn't work out as expected:
table.select.selector(':not(tr>td:nth-child(1))');
This question has an accepted answers - jump to answer
Answers
Solution: Add a CSS rule for each column you wish to enable select capability. In the example below, I wish to have select capability on all columns except the first.