Grid Title?

3 posts, 0 answers
  1. Lisa
    Lisa avatar
    35 posts
    Member since:
    May 2011

    Posted 25 Jun 2013 Link to this post

    Hi - I'm brand new to Kendo, and trying to figure some things out.

    One being how can I display a title on a grid?  I don't see a configuration attribute for anything like "header" or "Title"

    I attached a screen shot of what I'm thinking of.

    Thanks for any help.

    Lisa
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 27 Jun 2013 Link to this post

    Hello Lisa,

    I am afraid that the illustrated outcome is not supported out-of-the-box by Kendo UI Grid, however you could achieve it using custom implementation. For example in the dataBound event prepend a <div> element with the needed content to the Grid element:

    $("#grid").kendoGrid({
      //....
      dataBound: function(){
         $("#grid").before("<div class='customHeader'>Custom header</div>");
      }
    });
    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Lisa
    Lisa avatar
    35 posts
    Member since:
    May 2011

    Posted 28 Jun 2013 Link to this post

    Thanks Iliana - I did something similar to what you suggested.

    Lisa
Back to Top