Scope: grid The event is triggered when the selection of grid lines change. When a line is selected or deselected.
//Enable a button if exactly 1 line is selectedlet selectedRows =app.getFieldValue("myGrid.selectedRows");app.setEnable("myButton",selectedRows.length===1);