unstickColumn

Unsticks a column.

Parameters

column Number|String

The index of the column or the field to which the columns is bound.

Example - unstick a column

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "id", width: 800 },
    { field: "name", width: 400, sticky: true },
    { field: "age", width: 800 }
  ],
  dataSource: [ { id: 1, name: "Jane Doe", age: 30 }, { id: 2, name: "John Doe", age: 33 } ]
});
var grid = $("#grid").data("kendoGrid");
grid.unstickColumn("name");
</script>
In this article
Not finding the help you need? Improve this article