Hello,
This is just an example, but assume I have an object in this format:
object type = Person
Person has these fields: personid, name, dob, title, roles
Roles in a child class with fields: roleid, name, securitylevel
So in my javascript I can access a role field like this: person.roles[0].name or person.roles[1].roleid etc.
I want my grid to have the following columns: name, dob, title, roles with the roles column to list all of their roles. i don't want it to be a subquery that goes back to the database since I already have the data available. maybe that column should just run a function that passes in the current person.roles list and loops through them building out a template field for that column? Thanks for any help.
Coty
This is just an example, but assume I have an object in this format:
object type = Person
Person has these fields: personid, name, dob, title, roles
Roles in a child class with fields: roleid, name, securitylevel
So in my javascript I can access a role field like this: person.roles[0].name or person.roles[1].roleid etc.
I want my grid to have the following columns: name, dob, title, roles with the roles column to list all of their roles. i don't want it to be a subquery that goes back to the database since I already have the data available. maybe that column should just run a function that passes in the current person.roles list and loops through them building out a template field for that column? Thanks for any help.
Coty