Can we exclude multiple columns with select selector ?
Can we exclude multiple columns with select selector ?
Hi All,
I am using parent/child logic based on the blog 'Parent / child editing in child rows'.
Everything is working great.
Now I want add one or more additional controls. My thoughts are that I need to exclude the additional columns the same way that Allan did the single column in the example.
select: {
style: "single",
selector: "td:not(:first-child)"
}
Does anyone have suggestions on how best to do that? I have not found a way to pass multiple exclusion conditions to selector.
Thanks in Advance!
This question has an accepted answers - jump to answer
Answers
You can do something like this:
Note the
nth-child()
counting starts at `1 not 0.Kevin
Kevin, thanks very much. That did the trick!