On Row Selection
- Last UpdatedOct 12, 2023
- 1 minute read
Use scripts for the onRowSelection event of a Grid widget to return a dataset for a selected row in a Grid widget. You can use this with the selectedRow property.
Note: This event is ignored when filtering or sorting data, or resizing the Grid widget.
Example
try{
var selectedrows = JSON.parse(control.findByXmlNode("Widget1").widgetProperties.selectedRow);
console.log(selectedrows);
}
catch(e){
}