maxWidth

sets the maximum width for the view

number maxWidth;

Example

webix.ui({
  cols:[
    {
      view: "spreadsheet", id:"ss",
      data: spreadsheet_data,
      maxWidth:500
    },
    { /* other components */ }
  ]
});

Related samples

Details
  • During resizing the view can't take the size bigger than the value of maxWidth.
  • If there is not enough space for the specified width - the view will shrink down.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui framework and page of spreadsheet product.