row select - selector-modifier
row select - selector-modifier
montoyam
Posts: 568Questions: 136Answers: 5
I have a table where I want to select all records where a data field has a value. Is this possible?
something like:
table.rows(Users.UserID != '').select();
This question has an accepted answers - jump to answer
Answers
Use the
row-selector
as a function to return the rows thatUsers.UserID != ''
.Kevin
with that advice this is what I came up with...not sure if it is the best/only way???
In the
row-selector
docs see the function example which is used to return just the rows that match criteria.Kevin
Here is an example:
http://live.datatables.net/xulifexe/1/edit
Kevin
oh, yeah, that is MUCH cleaner... thanks!!