Specifies a row action.
Namespace: MindFusion.DataViews
File: Enum.js
JavaScript
![]() |
---|
// enum |
Member name | Description | |
---|---|---|
![]() |
Command |
Indicates that a row command is being executed. |
![]() |
Create |
Indicates that a row is being created. |
![]() |
Delete |
Indicates that a row is being deleted. |
![]() |
Render |
Indicates that a row is being rendered. |
![]() |
Select |
Indicates that a row is being selected. |
![]() |
Update |
Indicates that a row is being updated. |
The RowAction enumeration is used to provide data for events that use the RowModifiedEventArgs and RowModifyingEventArgs classes like rowCreated, rowCreating etc.
The following code handles the rowCreated event of grid, where it uses the action property of RowModifiedEVentArgs to identify the RowAction:
JavaScript
![]() |
---|
var dv = MindFusion.DataViews; grid.rowCreated.addEventListener(onRowCreated); function onRowCreated(sender, args) |