minWidth

sets the minimal width for the view

number minWidth;

Example

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

Related samples

Details
  • The view can take the width not less than the specified value.
  • If more (free) space is available - the view will take it.
  • During resizing the view can't take the size lesser than the value of minWidth.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js framework and page of spreadsheet javascript library product.