How to use the switch button in datatable column to enable and disable ?

edited July 23 in Technical questions

How to use the switch button in datatable column to enable and disable ?

Comments

  • edited July 30

    Hello @Naufil,

    How to use the switch button in datatable column to enable and disable ?

    Could you please elaborate as to what you are trying to achieve here exactly? Is your end goal to disable the rows within the datable by clicking on the appropriate switch button?

    If so, you can create a custom HTML template that mimics the switch button and introduce appropriate checks in order to disable selection/editing within the disabled rows: https://snippet.webix.com/t9w6akec. You can also assign a custom CSS class to a disabled item, if needed: https://snippet.webix.com/umqvvodh.

  • edited July 31

    Hello @Dzmitry, I have already done this one but I want to use toggle switch. is that possible to use the Toggle Switch button in the datatable column?

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