Show a editor form like popup window on button click

Show a editor form like popup window on button click

kaustubh.agrawal2000kaustubh.agrawal2000 Posts: 88Questions: 39Answers: 2

I have a use case where a table displays multiple IDs (Numeric keys) which are links..
When user clicks that link a popup should open ( Similar to editor edit screen.. with data related to clicked id populated in the table)... and user is able to see and edit the data..

Kindly let me know how this can be achieved...
If you know of an example about it ... kindly share with me, I saw the available examples but seems like this use case is not there ..

Regards

Answers

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin

    You would attach a jQuery click event listener to whatever element it is that you want to trigger the modal (see jQuery docs).

    You could also use a custom button, perhaps extending the selected button, if you want to make use of Buttons like in the Editor demos.

    Allan

This discussion has been closed.