Last Updated: 27 Dec 2019 13:38 by ADMIN
Created on: 21 May 2019 12:55
Category: Grid
Type: Bug Report
Grids - headerAttributes - Internally generated header id not present in "th" tag

After the kendoGrid is created, the headerAttributes field (of every column) has a id value (generated by Kendo) of some random GUID - but this GUID is nowhere to be found in the entire HTML.

So, there is no way to link a Kendo column object to an HTML (th) element.


1 comment
Posted on: 28 May 2019 08:51
Hi Chris,

I inspected the Grid output and the ids are actually rendered in the th elements: screenshot. This is the example I tested:
Is there a specific use-case when the id is not rendered?

Additionally, you can access the data-field attribute of the th element to know which column this is. Its value is the field name of the column.

Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.