Do an action on the selected rows
Do an action on the selected rows
![adrdgr](https://secure.gravatar.com/avatar/6b0b27c3054b49747e80799c15c20c2d/?default=https%3A%2F%2Fvanillicon.com%2F6b0b27c3054b49747e80799c15c20c2d_200.png&rating=g&size=120)
Hello,
I have created a 'SelectAll' button. That way, I selected all tables rows.
Now, my next step is to identify/get all these rows and apply a very simple function (e.g. print sth to console) on these.
Any idea/suggestion would be very helpful.
Thank you!
This question has an accepted answers - jump to answer
Answers
Use
rows().data()
with theselector-modifier
of{selected:true}
as shown in the examples. Also see this running example.Kevin