SMART datagrid v.1 > Classes > DisplayOptions
If it is true, it will display most by scrolling the contents when the width or height of grid is changed.
If it is the UI of which size of grid will be changed together when size of browser is changed, you can set this property as true to make it more natural for end users.
Defaults to true.
grid.setOptions({
display: {
fitWhenResized: false
}
});
grid.setDisplayOptions({
fitWhenResized: true
});
grid.displayOptions().setFitWhenResized(false);