SMART datagrid v.1 > Classes > DisplayOptions
It specifies the way of displaying selection area by SelectionDisplay constant.
If specify as SelectionDisplay.CELL, in the data cells which are contained in selection area, it will draw the cell background by GridStyles.selectedBackground and display the text with the color specified in selectedColor. In addition, in the case of the renderer of displaying the shape, it can display the shape by using the properties specified in shapeSelectedColor, shapeSelectedBorder.
Defaults to SelectionDisplay.MASK.
grid.setOptions({
display: {
selectDisplay: DataLudi.SelectionDisplay.CELL
}
});
grid.setDisplayOptions({
selectDisplay: DataLudi.SelectionDisplay.CELL
});
grid.displayOptions().setSelectDisplay(DataLudi.SelectionDisplay.CELL);