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

[Solved] Grid Column Locking not working

1 Answer 275 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 30 Jan 2015, 08:18 PM
We're building grids on the fly, but the output is like this:

<div id="OrcaGrid29" data-bind="kendoGrid: 
    {data: dataSource29, 
        columns: [
            {title: 'Provider Id', field: 'ContextId', hidden: true, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'Provider Name', field: 'ContextName', width: 150, locked: true, lockable: false, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'Provider Short Name', field: 'ContextShortName', width: 150, headerAttributes: { style: 'white-space: normal' }}
            ,{title: 'NPI', field: 'm_333_Text', width: 100, headerAttributes: { style: 'white-space: normal' }  }  
...
            ], 
        toolbar: [{name:'save', text: 'Save'}, {name: 'create', text: 'Add Provider'}, {name: 'Help', className: 'FormHelp', text: 'View Help' }], editable: true, pageable: { pageSize: 10 },  navigatable: true, scrollable: true, enabled: enabled }">
</div>

Without trying to lock the column, the grid looks fine (see attached: Grid_Without_Column_Lock.PNG).  With "locked: true" and "lockable: false" on a column or columns, we get output like attachments:  WithColumnLocking_Initial_Page.PNG and WithColumnLocking_After_Paging.PNG.    We really need this feature, so any help would be much appreciated!
 
Thanks,
Bob

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 03 Feb 2015, 02:44 PM
Hi Bob,

Based on the given code snippet it appears you are using the Knockout-Kendo library which is part of the Kendo UI Labs projects. As such, these projects are not officially supported by the Kendo UI team. Any support requests (via tickets or Forum posts) should go to either StackOverflow, or to the Issues list for that project.

Regards,
Iliana Nikolova
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
Bob
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or