INWTlab / shinyMatrix

https://inwtlab.github.io/shinyMatrix/
Other
19 stars 6 forks source link

Change or disable click behavior #26

Closed jassler closed 2 years ago

jassler commented 2 years ago

As far as I understand it, when I click a cell, a class active is added to the td element, which adds an input element to the cell until something outside of the matrix is clicked.

Is it possible to change or even completely disable this behavior? I.e., if I only want to display static content, I don't want users to be confused if nothing happens when they change some values. Or, I want some other R function (alternatively just any other js function) to execute when a user clicks on a cell.

Is that possible?