New to Kendo UI for jQuery? Start a free 30-day trial

Width

configuration

The width of the grid. Numeric values are treated as pixels.

width

Number|String
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" },
    { productName: "Ham", category: "Food" },
    { productName: "Bread", category: "Food" }
  ],
  width: 1000
});
</script>
Not finding the help you need?
Contact Support