Is it possible to use Toggle Switch in DataTables Editor instead of Select?
Is it possible to use Toggle Switch in DataTables Editor instead of Select?

Hello,
In a form of one of my DataTables Editor based project, I want to use Toggle Switch instead of Select. This is because there are only two values in the drop-down of the select (0 and 1). So instead of selecting a value from the dropdown, I think it's better to use Toggle Switch.
So, my question: is it possible to use Toggle Switch in DataTables Editor?
- Thanks
This discussion has been closed.
Answers
Do you mean something like the
Status
column in this example?https://editor.datatables.net/examples/simple/fieldTypes.html
Kevin
@Kevin
Yes, almost. But I want to use Toggle Switch rather than Radio/Dropdown
Sorry, I misunderstood. If you are using Editor you will want to create a [field type plugin]. I did something similar using Bootstrap Toggle. See if this thread helps.
Kevin