AdvantageGrid Events
The AdvantageGrid type exposes the following members.
Events
| Name | Description | |
|---|---|---|
|
|
OnDeleteObject |
Raised when the user clicks the per-row Delete (X) icon. The handler is responsible for
removing the entity from the source list, persisting, and rebinding the grid.
|
|
|
OnLoadObject |
Raised when the user clicks the toolbar Add button or the per-row Edit pencil. Inspect
CommandType to distinguish:
Add means clear the form for a new entity;
Edit means populate the form from
Item.
|
|
|
OnReordered |
Raised after a drag-drop reorder. The handler typically iterates
Items, assigns each entity's SortOrder to the
loop index, and persists.
|
|
|
OnToggleActive |
Raised when the user clicks the active/inactive icon. The handler should set
IsActive on the resolved row to Toggle and
persist. The active column is hidden if no handler is attached.
|
|
|
OnToggleFeature |
Raised when the user clicks the featured/not-featured icon. The handler should set
IsFeatured on the resolved row to Toggle
and persist. The feature column is hidden if no handler is attached.
|

