Build own modals for edit and create

Build own modals for edit and create

yakseyyaksey Posts: 9Questions: 4Answers: 0
edited September 2016 in Free community support

I'm very new to web development and DataTables/Editor.
I've got a table with about 29 columns and the edit and create modals are looking very confusing because of the many fields. Unfortunately there are no real possibilities to design these modals (nontheless DataTables and Editor are such great tools, I really like them).

So my question is, whether it is possible to build your own modals for create and edit events and use the orignal editor actions with it? And if so, could you give me some advice about it?

Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    Hi,

    Yes, you can create your own modals for Editor to use. Support for that is via Editor's display controller plug-in options.

    That's how the Bootstrap, Foundation, etc, styling options use their own modals.

    Regards,
    Allan

  • yakseyyaksey Posts: 9Questions: 4Answers: 0

    Thanks for your response, Allan. I don't know if I get it right, sorry.
    As far as I understood the arrangement of the fields is still done automatically in a tough grid by using the controller plug-in options?

    I built an example-modal here.
    Am I able to connect these Selects, Inputs etc. and the Save-button with Editor?

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin
    Answer ✓

    Yes, Editor will still layout the fields. There is no option to change that. You can use CSS to do multi-column layout and other layout tricks, but fundamentally the display controller defines how Editor will display the form element - not how the fields are defined.

    Allan

This discussion has been closed.