How can I change the HTML-Structure of the Editor?

How can I change the HTML-Structure of the Editor?

karimbkkarimbk 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:

Answers

  • Tom (DataTables)Tom (DataTables) Posts: 139Questions: 0Answers: 26
    Answer ✓

    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

  • karimbkkarimbk Posts: 9Questions: 4Answers: 0

    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

  • karimbkkarimbk Posts: 9Questions: 4Answers: 0

    does anyone have an idea about this?

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin
    Answer ✓

    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

  • karimbkkarimbk Posts: 9Questions: 4Answers: 0

    thanks allan! got it

This discussion has been closed.