JavaScript
canRowExpand
Arguments
- eobject
An object passed to the event that contains the following properties:
- isDirtyboolean
Indicates whether or not any edits have been made to the Detail View. If isDirty is true, the current record has been edited.
- rowNumbernumber
The row number of the Grid row that fired the event. New record rows have negative row numbers.
Description
Fires when the user tries to expand a closed row expander. If the event returns false, the action is cancelled.
To prevent the user from expanding the row, the event can return false. For example:
return false;