How can I do a select all checkbox which should only select everything in the current page
How can I do a select all checkbox which should only select everything in the current page
sameer1319
Posts: 5Questions: 1Answers: 0
How can I do a select all checkbox which should only select everything in the current page or the search result.
I am using this https://l-lin.github.io/angular-datatables/#/getting-started
This discussion has been closed.
Answers
will select the rows for the current search. See the
selector-modifier
docs for more details.Allan
Hi Allan thanks for your reply could you please tell me how can i access .rows in my Angular typescript as i am using this https://l-lin.github.io/angular-datatables/#/getting-started. could you help me with that do i access this inside dtOptions? @allan
rows()
is a DataTable method. So, you could go straight from the jQuery selector, i.e. something like:Colin
how do i access this Datatable methods in Angular 11 project
I'm not familiar with Angular, but it looks like this page on the site you linked to has a few examples, such as this one: https://l-lin.github.io/angular-datatables/#/advanced/individual-column-filtering
Colin