File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ export class Sample {
5050 eventArgs . event . preventDefault ( ) ;
5151 this . multiCellArgs = { } ;
5252 if ( this . multiCellSelection ) {
53- const node = eventArgs . cell . selectionNode ;
53+ const node = eventArgs . cell ;
5454 const isCellWithinRange = this . grid . getSelectedRanges ( ) . some ( ( range ) => {
5555 if (
56- node . column >= range . columnStart &&
57- node . column <= range . columnEnd &&
58- node . row >= range . rowStart &&
59- node . row <= range . rowEnd
56+ node . columnIndex >= range . columnStart &&
57+ node . columnIndex <= range . columnEnd &&
58+ node . rowIndex >= range . rowStart &&
59+ node . rowIndex <= range . rowEnd
6060 ) {
6161 return true ;
6262 }
@@ -85,7 +85,7 @@ export class Sample {
8585 }
8686
8787 public copySelectedRowData ( ) {
88- const selectedData = this . grid . getRowData ( this . clickedCell . id . rowID ) ;
88+ const selectedData = this . grid . getRowData ( this . clickedCell . cellID . rowID ) ;
8989 this . copyData ( selectedData ) ;
9090 const selectedDataArea = document . getElementById ( 'selectedArea' ) ;
9191 selectedDataArea . innerText = JSON . stringify ( selectedData ) ;
You can’t perform that action at this time.
0 commit comments