SMART datagrid v.1 > Classes

Back  Forward

DataLudi.DisplayOptions  class

It is the object which manages the overall properties about grid display. 

It is used as GridBase.displayOptions property. Since it is created internally when initializing grid, you do not need to directly create this class object. 

Base Classes
GridBaseOptions > DLBase
Constructor
function DisplayOptions (grid: GridBase);
Properties
alertCellError
bubbleWheelEvents
checkChildColumnResizable
checkDataInited
columnExcludable
columnMovable
columnResizable
cursorCallback
defaultColumnWidth
emptyDataMessage
emptyGridMessage
fillWhenResized
fitRowHeightWhenUpdated
fitStyle
fixedColumnCount
fixedColumnExcludable
fixedColumnMovable
fixedColumnResizable
fixedRowCount
fixedRowResizable
focusable
focusBorder
focusVisible
forceButtonVisible
heightMeasurer
hideBordersWhenFitted
hideColumnWhenExcluded
hideDeletedRows
hintDuration
horzLiveScroll
horzScrollStep
horzWheelDelta
includeHeaderWhenFitColumn
liveScroll
maxRowHeight
mergedSelection
minRowHeight
nanText
parentChangable
preventSystemMenu
rightClickable
rowChangeDelay
rowHeight
rowHoverMask
rowResizable
selectDisplay
selectMode
selectStyle
showSingleSelection
showTooltip
summaryMode
tooltipAnimation
tooltipDelay
tooltipDuration
tooltipLineBreak
tooltipMaxWidth
tooltipMinWidth
tooltipStyles
variableRowHeight
wheelDelta
Inherited Properties
GridBaseOptions.grid
Inherited Methods
DLBase.assign
GridBaseOptions.ctor
DLBase.getProperties
DLBase.getProperty
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    grid.setOptions({
        display: {
            selectStyle: "rows",
            wheelDelta: 5,
            fixedColumnCount: 2
        }
    });
Code -2
    grid.setDisplayOptions({
        columnMovable: true,
        columnResizable: true,
        fixedRowCount: 2
    });
See Also
GridBase.displayOptions
GridBase.setOptions
GridBase.editOptions
GridBase.operateOptions
EditOptions
OperateOptions
Examples
Hello Grid