How to set headers when remote databound?

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 17 Oct Link to this post

    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.

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    114 posts

    Posted 19 Oct Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
Back to Top