Giter VIP home page Giter VIP logo

Comments (4)

shrektan avatar shrektan commented on July 21, 2024

I think you may realize your idea by observing the DT_row_selected?

发自我的 iPhone

在 2015年8月3日,13:00,DarioS [email protected] 写道:

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.

from shinybs.

DarioS avatar DarioS commented on July 21, 2024

The suggestion does not work.

from shinybs.

mheiser-md avatar mheiser-md commented on July 21, 2024

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.

from shinybs.

DarioS avatar DarioS commented on July 21, 2024

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

from shinybs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.