Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

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){

}

Related Links
TitleResults for “How to create a CRG?”Also Available in