The style of bootstrapToggle is lost during the responsive table
The style of bootstrapToggle is lost during the responsive table
rrzavaleta
Posts: 78Questions: 52Answers: 2
I have 1 problems
1.-In a table I created checkbox using "bootstrapToggle" and it is instantiated during the "drawCallback" of data table (image_1 and image_2).
But during the handling of responsive you lose style that is created with "bootstrapToggle".
How can I keep the style of "bootstrapToggle"?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You probably will need to use the responsive details renderer to add the necessary classes, etc. See if this example helps:
https://datatables.net/extensions/responsive/examples/child-rows/custom-renderer.html
Kevin
thnx , Kevin