A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/events/columnstick below:

columnStick - API Reference - Kendo UI Grid

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "id", width: 800, stickable: true },
    { field: "name", width: 400, sticky: true, stickable: true },
    { field: "age", width: 800, stickable: true }
  ],
  columnMenu: true,
  columnStick: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(e.column.field); // displays the field of the just sticked column
  },
  dataSource: [ { id: 1, name: "Jane Doe", age: 30 }, { id: 2, name: "John Doe", age: 33 } ]
});
</script>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4