Check box-select and unselect checkbox

Hi Webix Team,

I have used checked box to 'select all 'checkbox and it is working good,
But when I unselect one element e.g. Time, 'Select All' box is being deselected as expected but with that remaining elememts also getting deselected.

How can I unselect only one element without affecting remaining checkbox?
Please provide solution for this.

https://snippet.webix.com/6d84w7u1

Thank you.

Comments

  • Hey @Prarthana, you could try changing the onChange event and use onItemClick instead for your master checkbox. In your case, the onChange event on your master checkbox will fire every time one of the checkboxes gets checked/unchecked and thus will trigger the behaviour from your master checkbox. Here an example:
    https://snippet.webix.com/mvw3i17j.

  • Thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion