Preview only selected items in a table in a modal pop-up
Preview only selected items in a table in a modal pop-up
bank1991
Posts: 8Questions: 3Answers: 0
in DataTables
Hi everyone, I wanted to know if there is a way I can preview only selected items in a table in a modal pop-up box:
Answers
Use
rows().data()
with the appropriaterow-selector
to get the select rows. See this example if you are using the Select Extension. Or use the selected class you are using to mark the rows as selected. This can be displayed in the modal.Kevin
I've deleted your other two threads with the same question. Please don't post duplicates.
Editor doesn't have a "Read only" view, if that is what you mean? The closest is to use a plug-in such as this one and a second Editor instance with the fields configured to use that.
Allan