Hi,
Each row (JSON) of my data has a hidden 'RID' field but not defined in the Columns. Of cause the column is not visible.
In some cells of the row, I need to define a template for them to display the data as a link which redirects to the details of the row.
I've tried to use the template as below for a column:
{key: 'someKey', template:' <a href="${RID}"> ${someKey} </a>' }
The value of 'someKey' is correctly rendered, but the ${RID} is not. Is there anyway to achive that?
Best regards,Zach_Shine
Hello Zach,
Thank you for your interest in our jQuery components.
You should set localSchemaTransform option to "false"
http://help.infragistics.com/jQuery/2012.1/ui.iggrid#options
Thus the data to which the grid is bound will be used "as is"
with no additional transformations based on columns defined.
You can use the article and sample below as starting reference:
http://help.infragistics.com/NetAdvantage/jquery/2012.1?page=Creating%20a%20Basic%20Column%20Template%20in%20the%20igGrid.html
http://samples.infragistics.com/jquery/grid/basic-column-template
Hope this helps.
Thank you, the localSchemaTransform works!