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

How to set headers when remote databound?

1 Answer 63 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 18 Oct 2016, 02:26 AM

The titles on Row 1 seem to be set to what's coming down from the service, how can I customize them?  Like the JSON is "studyId" but the client wants "Study_ID".

Is this possible?  I tried setting the cell value property but doesn't seem to work.

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 19 Oct 2016, 02:53 PM
Hi Steve,

To display a different text in the Kendo UI Grid columns headers, you can use the columns title:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.title

Or if you wish to make more changes, you should use the columns headerTemplate configuration option:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.headerTemplate

Kind Regards,
Alex Hajigeorgieva
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
Tags
Spreadsheet
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or