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

locking columns when detail feature is used in kendo grid

1 Answer 249 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Dec 2014, 01:21 PM
Hello,

I have created a grid and used the detail feature to display a subgrid within the main one.
I would like to freeze the first two columns from the main grid so that they remain visible even when I scroll to the left. yet this seems to be not given in kendo grid due to the existence of the hierarchy as mentioned here:
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.locked

Could you let me know if there is a workaround or an easy fix for this please?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Dec 2014, 08:52 AM
Hi John,

The row template and detail template features require a single data table to be rendered. When using locked columns, there are two data tables - one for the locked columns and one for the non-locked columns. It is not possible to support row templates and details templates in this case, because it is not clear how these templates should be split between the two data tables. I am afraid there is no workaround.

Regards,
Dimo
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
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or