Dynamic Row Template on a table
Is there a way to dynamically build the row template similar to the way you can use an array for the columns property on the table?
We have several tables in our application and we are using an array to define the columns property of the table. This allows us to dynamically change the columns displayed in the table. We are also using column templates to some times change the data displayed in a column. For example, we use a column template to change the date format.
We are interested in using row templates because we have a need to color the background of row based on data within that row. I have seen several responses to questions on using row templates, but all the responses are showing pre-defined row templates like the one below. Since we dynamically adding the columns on the table, it doesn't make sense for us to build a specific row template.