Closed DarioS closed 8 years ago
I think you may realize your idea by observing the DT_row_selected?
发自我的 iPhone
在 2015年8月3日,13:00,DarioS notifications@github.com 写道:
I would like to propose that bsModal can be associated with a data table. Currently, the trigger parameter requires "The id of a button or link". In my use case, I have a table of numbers, and when a cell of the table is clicked, a popup will show the scatterplot of the data used to calculate that number. I need to link the modal popup to the click information available from DT.
— Reply to this email directly or view it on GitHub.
The suggestion does not work.
Check my code in issue bsModal and dateinput #46. It shows an example how one can use the row_selected event to toggle a Modal.
Having an event observer on the cell clicked event and toggling a modal is a correct approach.
I would like to propose that
bsModal
can be associated with a data table. Currently, thetrigger
parameter requires "The id of a button or link". In my use case, I have a table of numbers, and when a cell of the table is clicked, a popup will show the scatterplot of the data used to calculate that number. I need to link the modal popup to the click information available from DT.