reactive-table icon indicating copy to clipboard operation
reactive-table copied to clipboard

Adding a button to a reactive table cell populated by a collection

Open LouisGacke opened this issue 8 years ago • 1 comments

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

LouisGacke avatar Mar 23 '17 16:03 LouisGacke

The fn attribute should work fine for that. There could be a bug or a problem with how you've configured it.

aslagle avatar Mar 23 '17 23:03 aslagle