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

Grid Title?

2 Answers 157 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lisa
Top achievements
Rank 1
Lisa asked on 25 Jun 2013, 05:51 PM
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 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 27 Jun 2013, 08:56 AM
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!
0
Lisa
Top achievements
Rank 1
answered on 28 Jun 2013, 03:57 PM
Thanks Iliana - I did something similar to what you suggested.

Lisa
Tags
Grid
Asked by
Lisa
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Lisa
Top achievements
Rank 1
Share this question
or