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

Display a dictionary using ClientRowTemplate in Kendo Grid

3 Answers 343 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 23 Jan 2017, 06:28 PM
I have a dictionary (string, string) that I need to bind within a ClientRowTemplate. What's the syntax for binding the key and value within the template?

I have a dictionary (string, string) that I need to bind within a ClientRowTemplate. What's the syntax for binding the key and value within the template?

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Jan 2017, 02:31 PM
Hi John,

You can check the following sample to achieve this requirement:
http://demos.telerik.com/aspnet-mvc/grid/rowtemplate

Generally, you can place Kendo widgets and wrappers in the CellTemplate without creating entirely new row template:
http://docs.telerik.com/aspnet-mvc/helpers/grid/faq#how-to-use-kendo-ui-widgets-inside-grid-client-column-templates

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
John
Top achievements
Rank 1
answered on 26 Jan 2017, 01:48 AM
These examples does not tell how to bind to dictionary or any kind of syntax. Can you guys please provide some running sample ?
0
Eyup
Telerik team
answered on 27 Jan 2017, 11:47 AM
Hello John,

Could you please elaborate on your scenario and be more specific what exactly you want to achieve? This will enable us to provide more accurate and precise suggestions. Also, if applicable, you can modify the following dojo sample to simulate your scenario and send it back to us for further clarification of your configuration:
http://dojo.telerik.com/oPovo

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Eyup
Telerik team
John
Top achievements
Rank 1
Share this question
or