How to insert record from Datatables checkbox

How to insert record from Datatables checkbox

alci02alci02 Posts: 1Questions: 1Answers: 0

I need help to insert datatables checkbox to a table, I dont know how to do it,

Answers

  • kthorngrenkthorngren Posts: 21,483Questions: 26Answers: 4,978

    If you are referring to the Select extension checkbox then see this example. IF you want just a checkbox then use columns.render to render the checkbox HTML into the cell. See this example for HTMl rendering samples. This editor example shows another option for checkboxes. If you aren't using Editor then remove that part of the config.

    Kevin

  • allanallan Posts: 63,700Questions: 1Answers: 10,501 Site admin

    You could consider nested editing like this. That uses a DataTable rather than a checkbox to add the option, but I think it would be a good idea for me to add a nested editing option to the checkbox input type - I was going to do that for a new field type - I it would make sense to expand it here as well.

    Allan

Sign In or Register to comment.