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

Kendo Grid - Lock/Unlock columns outside grid

1 Answer 183 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 25 Jan 2018, 03:07 PM
I have a kendo grid, whereas menu item not needed in the column header. But still I want Lock/Unlock control in the column header. Is there any way to achieve it? If possible with external an dropdown which have number columns with checkbox to lock/unlock it.    

1 Answer, 1 is accepted

Sort by
0
Accepted
Eduardo Serra
Telerik team
answered on 25 Jan 2018, 07:17 PM
Hello Michael,

The functionality you describe can be implemented by taking advantage of the lockColumn and unlockColumn methods; you can read more about them in the Methods section of the Kendo UI Grid API.

In order to make changes through a custom control in the toolbar of the Grid, we can use a Toolbar Template as shown in this sample in our Demos section; you can read more about the use of Templates in Kendo UI here.

I have prepared a sample for you in the Kendo UI Dojo demonstrating how the approach described above would work, take a look at it here.

I hope this helps!

Regards,
Eduardo Serra
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Eduardo Serra
Telerik team
Share this question
or