column nodes find does not work.
column nodes find does not work.
i followed this example for adding select inputs to the table
but because i did not want to add the <select> to the footer and header i created a row in the beginning. I also wanted
to display the selects on distinct columns so i thought it might be a good idea to give those columns, where i wanted to display
data in it, a class name (rs-node). Unfortunately the find method did not return any result, so i could not insert those selects in the <td> tag.
$(column.nodes()).find('.rs-node')
is this the right approach or is there a different one?
Answers
Hi @maxw ,
Creating a row sounds like a bad way to go, since if you order the page, or filter the data, that row will still be considered. Something like this may be better, it's actually in the header but because the header has two rows, it doesn't look like it is. It would be easy to merge your code and this to change that
input
element to aselect
.Cheers,
Colin