Using the GETDATAVALUE in grid
Posted: Tue Jan 12, 2016 7:52 pm
All,
Can someone show me an example of using the GETDATAVALUE API for a grid?
I can retrieve the value by explicitly providing the row number (row 1) as in the example below...
var customerId = getObj("Grid1").grid.getDataValue(1, "CUSTID");
However, I need to dynamically set the row number when the user mouses over a cell in the grid.
I've found the "onmouseover" event for the grid but how do I retrieve the "rowNumber" value provided by the event?
Thanks.
Kevin
Can someone show me an example of using the GETDATAVALUE API for a grid?
I can retrieve the value by explicitly providing the row number (row 1) as in the example below...
var customerId = getObj("Grid1").grid.getDataValue(1, "CUSTID");
However, I need to dynamically set the row number when the user mouses over a cell in the grid.
I've found the "onmouseover" event for the grid but how do I retrieve the "rowNumber" value provided by the event?
Thanks.
Kevin