Build own modals for edit and create
Build own modals for edit and create
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
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
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?
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