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

thead field does not return frozen grid columns

1 Answer 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kajal
Top achievements
Rank 1
Kajal asked on 07 Jul 2014, 09:03 PM
Hi,
I have a grid with frozen columns and these columns do not list when I access thead or table field of kendo grid. How do I access static column headers? I need it to hide default filter operator menu on one of these fields.

Eg: When I do $("#grid").data('kendoGrid').thead on the following grid, it does not show the static columns:
http://demos.telerik.com/kendo-ui/grid/frozen-columns

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 09 Jul 2014, 09:11 AM
Hi Kajal,


Indeed the thead and table fields refer to the non-locked columns elements. The locked columns are placed in a separate table element. You could use the k-grid-header-locked class to access it's head wrapper and the k-grid-content-locked class to access the content wrapper.

Regards,
Dimiter Madjarov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Kajal
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or