If specify DisplayOptions.selectDisplay as CELL, it will display the selection state of each cell with using GridStyles.selectedBackground and selectedColor, rather than to display the selection areas of the data cell with an opaque mask.
Display as the style when it is single cell selection.
If it is CELL, the selected cells will be drawn through GridStyles.selectedBackground and selectedColor.
grid.loadStyles({
body: {
cell: {
selectedBackground: undefined,
seleectedColor: undefined
}
}
});
The selection area of the grid is basically set based on the row, but if specify DisplayOptions.mergedSelection as true, it will be set based on the merged cell.
Set the selection area based on the merged cell.