Datatables Editor checkbox field: separate checkbox element from option for table usage
Datatables Editor checkbox field: separate checkbox element from option for table usage
matissg
Posts: 63Questions: 15Answers: 0
I'd like to create small Datatable inside my Form, where there would be two columns:
1) checkbox element
2) checkbox option
I would need to pass this as checkbox field with Datatables Editor. Checkbox values would be passed when checkboxes selected and Form submitted. I need this since I have long list of checkboxes where I need pagination and search functionality.
Is there any option to achieve this, please?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Currently no - not yet I'm afraid. It is something I'm actively looking into, but there are a few things I want to change in DataTables before adding that feature to improve ease of use.
Another option is to use Select2 or Selectize - integration plug-ins for which with Editor are available.
Allan
@allan Thank you for clearing this out. It would be really great feature as there are cases when option list is long. To my mind It would be more user friendly to present that kind of list like some small Datatable where pagination and search is possible.
Agreed. It makes perfect since to be able to display a list in a DataTable. It is possible with a plug-in field type at the moment, but I'm not happy with the API to initialise options - it just isn't very friendly!
Allan