Nested editors
Nested editors
Hello,
Probably a strange question, but is it possible to nest editors.
For example, if I create an editor type extension that shows a datatable in the edit form,
can I then use an editor on that table?
Hope that makes sense :-)
Cheers,
Paul.
Probably a strange question, but is it possible to nest editors.
For example, if I create an editor type extension that shows a datatable in the edit form,
can I then use an editor on that table?
Hope that makes sense :-)
Cheers,
Paul.
This discussion has been closed.
Replies
Tried to implement an editor with a resulting form that contains a table with a related list, where the values use an editor. Everything seems to work, except when I attempt to open an editor window on that small, nested table, nothing happens.
I'm not saying its going to be trivial (nor at the same time should it be too complex!) but it absolutely is possible to work with multiple Editor instances.
Regards,
Allan
Fantastic.
Thank you Allan.
Regards,
Allan
Is there a way to control or position the envelope top edge? At the very least, I'd like to position it at the top of the editor window. Right now, it seems to position itself someplace in the middle of the page behind the lightbox, scroll it down a little bit, and then open itself up.
Like I say, it actually functions -- it just looks messy.
var envelopeConf = $.fn.dataTable.Editor.display.envelope;
envelopeConf._findAttachRow = function() { return $('div.DTE_Body'); }
envelopeConf.conf.windowScroll = false;
I'm trying to get it to scroll down "out" of the top edge of the editor's body area. I imagine that there's a CSS element that's unique to the THEAD of a table that the DTE_Body DIV for the Editor window doesn't carry. Still poking at it.
envelopeConf._findAttachRow = function() { return $('div.DTE_Header')[0]; }
...this actually looks sort of slick, now.
Allan