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
- The view can take the width not bigger than the specified value.
- If there is not enough space for the specified width - the view will shrink down.
- During resizing the view can't take the size bigger than the value of maxWidth.
See also
Back to top