SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.hideBordersWhenFitted  property

If it is true, when filling the width of grid with columns by running grid column Fitting, the last right border will not be drawn. 

You will not be able to draw Grid Header, Footer borders and grid body border and the right borders of data cells on the last right side. 

Defaults to true.

Getter
function hideBordersWhenFitted(): Boolean
Setter
function setHideBordersWhenFitted(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            hideBordersWhenFitted: true
        }
    });
Code -2
    grid.setDisplayOptions({
        hideBordersWhenFitted: true
    });
Code -3
    grid.displayOptions().setHideBordersWhenFitted(true));
See Also
DisplayOptions.fitStyle
Examples
Grid Fitting