This is a migrated thread and some comments may be shown as answers.

How to get the dataitem of the row clicked on context menu open event

1 Answer 283 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 18 Jun 2019, 10:53 PM

On grid right click context menu's open event, how does one get the grid row's data item:

function grid_menu_open(e) {

}

1 Answer, 1 is accepted

Sort by
0
Edward
Top achievements
Rank 1
answered on 19 Jun 2019, 07:07 PM

Figured it out...

function grid_menu_open(e) {

   let grid = ... // get kendoGrid handle
   grid.dataItem($(e.target))

}

 

Tags
Menu
Asked by
Edward
Top achievements
Rank 1
Answers by
Edward
Top achievements
Rank 1
Share this question
or