AdvantageGrid Properties
The AdvantageGrid type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|
|
Columns |
The visible data columns, declared either inline in markup (inside a <Columns>
tag) or programmatically. This property hides Telerik's
RadGrid.Columns with a strongly-typed list of
GridColumnDefinition; entries are converted to
GridBoundColumn instances during OnPreRender(EventArgs) and slotted
between the auto-generated Edit and Active/Feature/Delete columns.
|
|
|
CurrentDomain |
Gets the domain currently scoped to this control.
|
|
|
CurrentLanguage |
Gets the language currently scoped to this control.
|
|
|
CurrentSql |
Gets the SQL helper scoped to the current request.
|
|
|
CurrentUser |
Gets the authenticated user executing the current request.
|
|
|
DataKeyItems |
The key field/value pairs identifying the row most recently selected for edit, persisted
across postbacks via XML serialisation into ViewState. The setter is
protected internal — the grid populates it during the Edit command; the host
reads it to associate an edit-form save with the right row.
|
|
|
DataKeyNames |
Names of the property/properties on the row's data object that uniquely identify it.
Composite keys are supported by listing multiple field names. The values for the clicked
row are bundled as GridDataKeyValue entries on every event.
|
|
|
DisableSorting |
When true, disables drag-drop reordering and row selection. Use for grids whose
order is determined by data (e.g. natural sort on a name column) rather than by an
explicit SortOrder property.
|
|
|
ShowActiveButton |
Whether to render the active/inactive toggle column. The column is also auto-hidden
when the row's data object lacks an IsActive property or when no
OnToggleActive handler is attached.
|
|
|
ShowAddFunction |
Whether to render the toolbar Add button. Setting this to false still allows
edit/delete on existing rows but blocks creation.
|
|
|
ShowDeleteFunction |
Whether to render the per-row Delete (X) column. Set to false when rows are
soft-deleted via the active toggle instead.
|
|
|
ShowEditFunction |
Whether to render the per-row Edit (pencil) column. Set to false for read-only
or display-only grids.
|
|
|
ShowFeatureButton |
Whether to render the featured/not-featured toggle column. Auto-hidden when the row's
data object lacks an IsFeatured property or when no
OnToggleFeature handler is attached.
|

