How can I change the HTML-Structure of the Editor?
How can I change the HTML-Structure of the Editor?
karimbk
Posts: 9Questions: 4Answers: 0
I want to use my own Bootstrap-Styling and my own HTML-Structure. Is that possible?
I wouldn't like to use the default classes like "DTE_Field DTE_Field_Type" and "DTE_Label_Info" and so on..
Thanks in advance for your answers
Best
Karim
This question has accepted answers - jump to:
This discussion has been closed.
Answers
If you are using Bootstrap have a look at Bootstrap integration for Editor
You can also change the default classes using
$.fn.dataTable.Editor.classes
You can't change the structure of the form that datatables lays out. There is no option for that at this moment.
Thanks
Tom
Hi Tom,
thanks for the fast answer!
So I cannot make a double-/triple-columns lay-out? I have to stick to that single-column-layout, with the thin column-input-fields?
Best
Karim
does anyone have an idea about this?
You can do multi-column layout of the form. See this example. It isn't Bootstrap - but the same idea applies - just add a little bit of suitable CSS.
Allan
thanks allan! got it