Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsModal Integration with DT Events #45

Closed
DarioS opened this issue Aug 3, 2015 · 4 comments
Closed

bsModal Integration with DT Events #45

DarioS opened this issue Aug 3, 2015 · 4 comments

Comments

@DarioS
Copy link

DarioS commented Aug 3, 2015

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.

@shrektan
Copy link

shrektan commented Aug 3, 2015

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.

@DarioS
Copy link
Author

DarioS commented Aug 12, 2015

The suggestion does not work.

@mheiser-md
Copy link

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.

@DarioS
Copy link
Author

DarioS commented Sep 10, 2015

Having an event observer on the cell clicked event and toggling a modal is a correct approach.

@DarioS DarioS closed this as completed Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants