How to select n number of column when selectAll button is pressed?
How to select n number of column when selectAll button is pressed?
salman_malyk
Posts: 5Questions: 2Answers: 0
in Select
I am using to datatable select plugin and when user presses selectAll button i want to select only n number of records which i've specified.
This question has an accepted answers - jump to answer
Answers
If you are referring to this example you can use one the
row-selector
options to select only those rows you wish. If you still need help please provide more information about "i want to select only n number of records which i've specified.".Kevin
Here's my custom button that i created, It does work but it takes too much time because it's iterating each entries until max limit is reached.
Hope this code will explain what i am trying to do.
You can refactor that code to make it more efficient:
false
This is the code from this example:
Colin
Yes thank you @colin that worked.