hi,
I have the below code snippet
https://snippet.webix.com/2tzbnx7r
When i click on the master checkbox it is selecting only few items i.e (1 to 23)
I wanted to select all the items in the page when clicking on the master checkbox
hi,
I have the below code snippet
https://snippet.webix.com/2tzbnx7r
When i click on the master checkbox it is selecting only few items i.e (1 to 23)
I wanted to select all the items in the page when clicking on the master checkbox
Can you please help?
Can you please help me on this?
Hello, @prasadraju,
I wanted to select all the items in the page when clicking on the master checkbox
You will need to employ a different strategy when checking for the items you’d like to select. Currently, as you can see, you are only selecting the currently visible items, whilst ignoring the other items on the page. You will need to modify this behaviour and manually calculate the items that have to be selected.
The end solution will be based on my previous example from this thread. Please take a look: Code Snippet.
Thanks for the help .We have a master checkbox checked in the page 2 .
But forget about this thread https://forum.webix.com/discussion/37208/datatable-master-checkbox-check-if-all-the-items-are-checked#latest
My requirement is i need to select all the items in the page when the master checkbox is clicked.
and when i go to the page 2 and come to 1 again . Checkboxes should be checked as i have checked them previously
Note : page2 checkboxes and master checkbox should be unchecked as i did not check them .
Hello @prasadraju,
My requirement is i need to select all the items in the page when the master checkbox is clicked.
and when i go to the page 2 and come to 1 again . Checkboxes should be checked as i have checked them previously
Note : page2 checkboxes and master checkbox should be unchecked as i did not check them .
Please check the fixed snippet: Code Snippet.
Thanks for the help.
if i click on master checkbox i need to get all the values on the particular page.
if i click on the particular row i need to get the values of only that particular ones.
Also ,when switching between pages master checkbox method is calling .
How can i do that?
Can anybody help?
@anybody
Can anybody help…?