File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default function App() {
34
34
function rightClick ( grid : IgrGridBaseDirective , event : IgrGridContextMenuEventArgs ) {
35
35
const eventArgs = event . detail ;
36
36
eventArgs . event . preventDefault ( ) ;
37
- const node = eventArgs . cell . id ;
37
+ const node = eventArgs . cell . cellID ;
38
38
const isCellWithinRange = grid . getSelectedRanges ( ) . some ( ( range : any ) => {
39
39
if ( node . columnID >= range . columnStart &&
40
40
node . columnID <= range . columnEnd &&
@@ -61,7 +61,7 @@ export default function App() {
61
61
}
62
62
63
63
function copySelectedRowData ( ) {
64
- const selectedData = gridRef . current . getRowData ( clickedCell . id . rowID ) ;
64
+ const selectedData = gridRef . current . getRowData ( clickedCell . cellID . rowID ) ;
65
65
copyData ( selectedData ) ;
66
66
closeContextMenu ( ) ;
67
67
}
You can’t perform that action at this time.
0 commit comments