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

Change column title

1 Answer 245 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 12 Jul 2013, 11:36 AM
Is there a way to change a column's title after the grid has been created?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 16 Jul 2013, 09:09 AM
Hello Simon, 

In order to achieve this you could use jQuery to find a particular column and replace the text. For example:

//change the title of ProductName column
$("#grid thead [data-field=ProductName]").text("NewTitle");
  Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or