This is a migrated thread and some comments may be shown as answers.

How to get field information within Grid column template

1 Answer 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michelle
Top achievements
Rank 1
Michelle asked on 07 Aug 2015, 09:57 PM

I know that we get "dataItem" property in the scope to be used in a column template, but is there a way to get information about which specific field is specified for that column?  I want to do something like {{dataItem[field]}} within my cell template.

Thanks,

Michelle

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 11 Aug 2015, 07:15 AM
Hello Michelle,

I am afraid this information is not available in the template - only the dataItem is passed.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Michelle
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or