Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82512

column selector problem

$
0
0

Hi all,

I have tested my selector in the console and this delivers exactly the columns that I want:

$("#actuals tr:not(.even) td:not(:first-child):not(:nth-child(2)")

but when used in the keys definition like this:

columns: 'tr:not(.even) td:not(:first-child):not(:nth-child(2))'

none of my columns are editable.

I suspect that its down to the point at which the selector is being targeted as this works

columns: ':not(:first-child):not(:nth-child(2))'

can anyone please suggest a form that will only allow editing of columns on even bands and excludes columns 0 and 1?

thanks

jON


Viewing all articles
Browse latest Browse all 82512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>