reactive-table
reactive-table copied to clipboard
Adding a button to a reactive table cell populated by a collection
I've been trying to add a button that will appear in a cell in every row of a table that is populated by passing it a collection. The table is populated with data from the collection but I cannot get it to render a button in one of the cells.
I attempted to use the fn attribute and return HTML via Spacebars.SafeString() but this doesn't do anything, no errors.
I have also checked if the function is ever reached and it appears it is never even called.
Have I misunderstood the usage of the fn attribute or is this a bug?
Thanks
The fn attribute should work fine for that. There could be a bug or a problem with how you've configured it.