Approved
Last Updated: 30 Sep 2019 12:34 by ADMIN
Peter
Created on: 29 Sep 2019 18:37
Category: Grid
Type: Feature Request
0
Add a property for locked columns on the dynamic Grid.

As followup on Ticket ID: 1431527 screenshots and sample code provided.

"The GridColumnBuild does not have an implementation for the Locked functionality against the dynamic type. The class that gets serialized and sent to the client-side would not have a property for the locked column, therefore, there would be no locked columns."

Can you please examine this functionality?

 

Best,

Peter

1 comment
ADMIN
Tsvetomir
Posted on: 30 Sep 2019 12:34

Hi Peter,

Thank you taking the time to submit a feature request.

Until the feature gets implemented, I would suggest making use of the following workaround:

1. Use the setOptions() method in the document.ready() event:

<script>
    $(function(){
        var columns = $("#grid").getKendoGrid().columns;
        columns[0].locked = true;
        $("#grid").getKendoGrid().setOptions({ columns: columns, autoBind: true });
    });
</script>

2. Set the AutoBind() property to false, initially. This should be used in order to avoid sending two requests:

.AutoBind(false)

 

Best regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.