Hi , because my Client template use javascript to format the text to be render,
I am following a very common approach like
....
columns.Bound(o => o.Price).ClientTemplate("#=getTemplateForCurrencyColumn(data)#");
....
If I use "data" keyword I can access the parent datasource.
ff the name of collection for the list is "items" I can access the collection aswell (.ClientTemplate("#=getTemplateForCurrencyColumn(items)#");)
What I cannot reason is how to get the dataItem in context or even the value of the price for the column.
how can I can accomplish that?
Thanks in advance.