This example illustrates how to implement multiple cell selection for DataGrid.
Use the onCellHoverChanged and onCellClick event handlers to implement cell selection. The cellValue method uses cells' columnIndex
and rowIndex
properties to display the corresponding cell values.
The touchmove
and touchstart
events are used to ensure this example also works on mobile devices.
- Angular
- jQuery
- React
- Vue
- NetCore