@ondrejsevcik wrote:
Hi, I have a table component that accepts columns and I would like to pass as a part of a column definition how the content of that column should be rendered.
<CustomTable @columns={{array (hash title='Name' template=(user => <strong>{{user.name}}</strong>) // <- here ) }} @items={{this.users}} />
Is there a way to achieve this?
Posts: 3
Participants: 2