In this example: https://demos.telerik.com/kendo-ui/grid/multicolumnheaders.
How can I lock / unlock columns from the column menu?
Thank you in advande.
Regards,
Carlos Conde
3 Answers, 1 is accepted
0
Petar
Telerik team
answered on 13 Aug 2020, 09:12 AM
Hi Carlos,
The Lock/Unlock functionality of the Grid's columns doesn't work when where are columns defined with a Multi-column header.
For example, if we take this Dojo project when you remove the following column definitions the "Lock/Unlock" functionality appears back in the column menus.
It is planned to implement the lock/unlock function with multicolumns in the roadmap?
Best Regards,
Carlos Conde
0
Petar
Telerik team
answered on 18 Aug 2020, 07:02 AM
Hi Carlos,
To be sure that I didn't mislead you, I want to tell that in general, we can programmatically lock/unlock the MultiColumn headers. I didn't share this in my previous reply because this lock/unlock cannot be handled through a column menu and when there is a MultiColumn header defined, we can only lock/unlock the row with the MultiColum headers, not these of the columns that display the data. Here is a Dojo demonstrating how we can lock a MultiColumn header.
To answer your question from your last reply, the functionality to lock/unlock columns that have MultiColumn header cannot be implemented and is not in the roadmap. When there is a MultiColumn header, if we lock a column that is below such MultiColumn header, when the column is moved to the left side of the Grid, what will happen with the layout of the MultoColum header?