Open nigelsim opened 1 year ago
Hello @nigelsim, currently, there are two options:
.
this.columns = [
{ key: 'address.number', title: 'Number' },
{ key: 'address.street', title: 'Street' },
];
Does this work for you, or do you need a different solution?
Is your feature request related to a problem? Please describe. I want to be able to easily access the cell value from the cellTemplate, rather than having to read it from the
row
variable. In my case, the column key is a nested object. I don't have access to therender
pipe, so I can't easily extract it either.Describe the solution you'd like Just expose the
value
as extracted by therender
pipe as a template variable. This is all I'd need 90% of the time, and will make the templates more reusable. e.g., in my case, I want a light (on/off) based on the boolean value of the column. The column may beenabled
orchilld.enabled
.Describe alternatives you've considered Currently I've just copied the render pipe to my own code base.