Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Dynamic Row Template on a table — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Dynamic Row Template on a table

Received Response
18
Views
7
Comments
edited Jun 11, 2020 5:55PM in Visual Builder 7 comments

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!