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

Grid Column Locking with detail template

8 Answers 1428 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 19 Mar 2014, 05:00 PM
Support,

Testing the column locking in kendo.all.min.js version 2014.1.318 the following javascript error occured:
     
     'Uncaught Error: Having both detail template and locked columns is not supported'.  

Can  you look into this error and provide more information.  We've been looking forward to the column locking functionality. 

Bill 
Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
commented on 03 Aug 2023, 07:53 PM

It looks like this bug has been open since 2014. It is a major inconvenience making the kendo grid completely useless in these situations. It is a shame that Telerik has not taken the time in the past 9 years to fix it. Can it be moved up the priority list so I don't have to make a custom component? 
Georgi Denchev
Telerik team
commented on 07 Aug 2023, 11:29 AM

Hello, Lee,

There seems to be a slight misunderstanding. The locked columns are not supported when a Detail Template is used. This is a limitation that is mentioned inside the documentation and not a bug.

The row template and detail features are not supported in combination with locked columns.

As of the writing of this reply, there have been no changes regarding our stance on the matter.

Best Regards,

Georgi

Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
commented on 07 Aug 2023, 11:55 AM

Whether you want to refer to it as a bug or an unsupported feature, it still doesnt work and after almost a decade of people complaining I feel it should get some action.
Georgi Denchev
Telerik team
commented on 09 Aug 2023, 07:07 AM

Hello, Lee,

I am logging a Feature Request as it is difficult to track the demand in a forum thread(there may be more people who are interested but have not commented).

I know that it is just semantics to the customers who use the components, but the difference between a Limitation and a Bug is that one of them is deemed as a problem and has to be resolved, whereas the other is intended to work in that manner.

With that said some limitations could be revised to see if there are any ways to work around them, that is why I am going to log the request.

Best Regards,

Georgi

8 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 20 Mar 2014, 07:07 AM
Hello Bill,

Indeed locked columns doesn't support hierarchy/detail template and row template. This is feature limitation due to implementation requirements. 

The reason is because the implementation of locked columns require to have two containers holding locked and unlocked columns separately and one monolithic template for detail/row template. There is no *right* way of splitting that template between those containers.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jayashree
Top achievements
Rank 1
answered on 03 Jun 2015, 02:28 PM
Is there any other way to lock/freeze a grid column with row templates?
0
Nikolay Rusev
Telerik team
answered on 04 Jun 2015, 07:36 AM

Hello Jayashree,

 

No, there isn't.

 

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Patrick
Top achievements
Rank 2
answered on 15 Oct 2016, 03:22 AM

Just double checking that the position hasn't changed:

Is it still the case that there is no way to lock a column (eg the commands column with Edit and Delete buttons) in a grid which has child records in a detail template?

Thanks

0
Nikolay Rusev
Telerik team
answered on 17 Oct 2016, 07:43 AM

Hello Patrick,

No, the limitations are still the same.

Regards,
Nikolay Rusev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Patrick
Top achievements
Rank 2
answered on 17 Oct 2016, 03:05 PM
Thanks for the update, Nikolay. We'll find a workaround.
0
Alain
Top achievements
Rank 1
answered on 18 Sep 2017, 03:31 PM
Did you ever happen to find a workaround?
0
Stefan
Telerik team
answered on 20 Sep 2017, 08:39 AM
Hello Alain,

The limitation is still valid and for now, there is no official workaround. 

I can suggest monitoring the documentation because when the limitation is no longer valid we will update the important note. Please have in mind that this limitation is currently not in our short or mid-term plans:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.locked

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Vishal
Top achievements
Rank 1
commented on 15 Feb 2022, 08:29 PM

i want the frozen column to be different and detail grid icon should be on different column than also i am getting the error
Georgi Denchev
Telerik team
commented on 17 Feb 2022, 11:09 AM

Hi, Vishal,

As my colleague has already explained, the Grid does not support locked columns in a Hierarchy/Detail template. This limitation is still valid.

You can change the position of the expand column by following this article:

https://docs.telerik.com/kendo-ui/knowledge-base/grid-move-expand-column 

Best Regards,

Georgi

Arikumar
Top achievements
Rank 1
commented on 24 Jan 2023, 08:01 AM

Hi Stefan,

Do we have any other feature support which kendo provide for hierarchical columns with locked first column.

One of my client badly need this feature for their customers.

 

Best regards,

Arikumar

Georgi Denchev
Telerik team
commented on 25 Jan 2023, 11:49 AM

Hi, Arikumar,

There have been no changes regarding this limitation. Locked columns cannot be used in combination with detail(hierarchy) and row templates:

The row template and detail features are not supported in combination with locked columns. If you use multi-column headers, you can lock a column at the topmost level only.

Best Regards,

Georgi

Tags
Grid
Asked by
Bill
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Jayashree
Top achievements
Rank 1
Patrick
Top achievements
Rank 2
Alain
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or