SMART datagrid v.1 > Classes > DisplayOptions
GridFitStyle constant which specifies the way of filling the grid by adjusting the width of columns when the width of grid is left after displaying all columns.
Defaults to GridFitStyle.NONE.
grid.setOptions({
display: {
fitStyle: DataLudi.GridFitStyle.EVEN_FILL
}
});
grid.setDisplayOptions({
fitStyle: DataLudi.GridFitStyle.EVEN
});
grid.displayOptions().setFitStyle(DataLudi.GridFitStyle.FILL);