Futher to my previous post (https://www.chronoengine.com/forums/posts/t106316/chronofomrs6-read-data-from-database-table-and-display-a-list-of-the-contents) I am curious as to how to add a unique class or ID to rows in the output of a list of records from a database table. I am using the Repeater Area with a Grid Area to show the individual rows with data. In the rows, the individual fields are assigned an ID that contains the row number with this code:
What code can be used, and where (Grid Ares, Fields,etc.) to add unique classes or ID's to rows in a Grid Area?
Many thanks in advance,
Erik
fieldname{var:data-provider-name.key}However, if I add this same code to the Grid Area "Class", the result is always '1' so this can not be used to assign unique numbers to the rows in the Grid Area.
What code can be used, and where (Grid Ares, Fields,etc.) to add unique classes or ID's to rows in a Grid Area?
Many thanks in advance,
Erik
Why would you assign it to the class, and not to the id / name of the field?
This topic is locked and no more replies can be posted.