ClassRadGrid
Represents the RadGrid for ASP.NET AJAX control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadGrid : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadGrid
Inherited Members
Constructors
RadGrid()
Initializes a new instance of the RadGrid class.
Declaration
public RadGrid()
RadGrid(Element)
Initializes a new instance of the RadGrid class.
Properties
AllowCellSelection
Get whether the client-side cell selection is enabled.
AllowColumnResize
Get whether the column resizing is allowed.
AllowColumnSelection
Get whether the client-side column selection is enabled.
AllowColumnsReorder
Get whether columns can be reordered server, client-side or both. To be able to reorder columns client-side, the 'ReorderColumnsOnClient' should be enabled as well.
AllowMultiCellSelection
Get whether the client-side multi-cell selection is enabled.
AllowMultiColumnSelection
Get whether the client-side multi-column selection is enabled.
AllowMultiRowSelection
Get whether the multi-row selection is enabled.
AllowRowResize
Get whether the row resizing is allowed.
AllowRowSelection
Get whether the client-side row selection is enabled.
ClientSideLocator
The client-side locator of the RadGrid control.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
ClipCellContentOnResize
Get whether the clip-cell-content-on-resize is enabled.
DetailTableCount
Get the detail table levels of the Grid.
EditedItemCount
The collection of indexes of the items being edited.
EnableDragToSelectRows
Get whether the drag-to-select option is enabled.
EnableHeaderContextMenu
Get whether the header context menu is enabled.
EnableRealTimeResize
Get whether the real-time resizing is enabled.
GridFilterItem
Get the FilterItem HtmlControl if fitering is enabled.
Declaration
public GridFilterItem GridFilterItem { get; }
Property Value
GroupPanel
Get the GroupPanel HtmlControl if RadGrid's GroupPanel is enabled or null otherwise.
Declaration
public GridGroupPanel GroupPanel { get; }
Property Value
IsScrollingEnabled
Get whether the scrolling of the Grid is enabled.
LocatorExpression
Get the locator FindParam of the Grid.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
MasterTable
Get the Grid MasterTable.
Declaration
public GridTableView MasterTable { get; }
Property Value
Pager
Get the Grid pager control.
RenderMode
Render mode of RadGrid.
ReorderColumnsOnClient
Enables the client-side columns reorder if both with the 'AllowColumnsReorder' are on.
ResizeGridOnColumnResize
Get whether the resize-grid-on-column-resizing is enabled.
SelectedCellsCount
Gets the selected cells count.
StaticHeadersEnabled
Get whether the static headers of the Grid are enabled.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
FindColumn(Predicate<GridTableHeader>)
Find column by given predicate.
Declaration
public GridTableHeader FindColumn(Predicate<GridTableHeader> predicate)
Parameters
predicate
The predicate used as search criteria.
Returns
The column matching the given criteria or null if nothing matches the search.
FindColumnByName(string)
Finds column by name.
Declaration
public GridTableHeader FindColumnByName(string columnName)
Parameters
columnName
Returns
FindColumns(Predicate<GridTableHeader>)
Get a list of columns matching the given predicate.
Declaration
public IList<GridTableHeader> FindColumns(Predicate<GridTableHeader> predicate)
Parameters
predicate
The predicate.
Returns
The columns matching the given predicate.