I have a DataTable, with one column as Markdown. In this column -for every row-, I’m adding html links to perform certain actions like Add, modify for information in the row.
Ideally, what I want is to invoke a server callback when the link is clicked, and provide an input to the server of which row, and action clicked.
I can’t use the active_cell prop of the DataTable since there are two actions for each cell (add / history for example).
Here is what I tried so far!
I successfully was able to generate the links html dynamically with whatever attributes I need. I tried to use pattern matching callbacks, and generate the links ids just like in the documentaiton below, but the callbacks never fired even though the ids are correct
In summary, how can I invoke a server callback from a link in a markdown cell within DataTable?
Any hacks appreciated