With the Perspective Table, I would like to change the cell’s background color based on cell’s value.
(As a side note, the property data of the table component is binded to a dataset).
(I try to have the same result as with the Vision’s power table configureCell Extension Functions).
Style Rule with element State seem not to be applied to the table’s cells.
Any idea to achieve this ?
You could create another view, just with a label and with the parameters “rowData” coming from the table.
Bind the label text and background to “rowData” and make your Transforms.
In the table view, add a new column to the parameter “column” and change the “render” to “view”.
Select the “path” to your previous label view.
Passing this parameter “rowData” to a view is an powerful way to change a table.
Thanks, I had seen this render mode, but I hoped there was something more straightforward to only change the background cell color.
Hello, Can you elaborate the solution in detail.