Multiple Instances of Editor on One Page

Multiple Instances of Editor on One Page

mattwmattw Posts: 54Questions: 10Answers: 0

Hello, I want to know if there is a good way to handle this. I have a page that contains a table where each row can be expanded to show more details about that row. In this new expanded details area, one of the components is another table (which I would also like to use the editor on). So the main table on the page is initialized as an Editor table and I would also like the details tables to be Editor as well. Is there a good way to initialize these details tables as Editors? will there be too much editor instances open on one page? Any good ideas on how this could work? thanks everyone!

Answers

  • mattwmattw Posts: 54Questions: 10Answers: 0

    Also I wanted to add that this is more then just 2 or 3 editors. There could be for example 100 rows where each one will expand to have a details area with another (hopefully) editable table.

  • allanallan Posts: 63,700Questions: 1Answers: 10,501 Site admin

    Hi,

    You can have as many Editor instances on the page as you wish - however, only one can be open at a time at the moment. The lightbox display controller for Editor is effectively a singular control - it is reused for each display of Editor, regardless of which instance creates it.

    Were you looking to have multiple instances visible at the same time, or just different Editors with different fields / options?

    Regards,
    Allan

  • mattwmattw Posts: 54Questions: 10Answers: 0

    There would be only one table being edited at a time, there are just many tables that need to have the editor on it. So it sounds like this should work.

    Currently I'm having an issue getting the delete dialog to fire on click (actually can't get any event to fire on my "detail" tables) so have to fix that before I can test further.
    thanks!

This discussion has been closed.