ClassGridTableView
Represents the RadGrid for ASP.NET AJAX TableView control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class GridTableView : HtmlTable
Inheritance: objectControlHtmlControlHtmlContainerControlHtmlTableGridTableView
Inherited Members
Constructors
GridTableView()
Initializes a new instance of the GridTableView class.
Declaration
public GridTableView()
GridTableView(Element)
Initializes a new instance of the GridTableView class.
Properties
AllowMultiColumnSorting
Get whether the mult-column sorting is enabled.
AllowMultiRowSelection
Get whether the multi row selection is enabled.
AllowRowSelection
Get whether the row selection is enabled.
BatchEditType
Get batch edit type of GridTableView
CanInsertItem
Get whether the standard table command item is enabled either in the header or the footer.
ClientSideLocator
The client-side locator of the table HTML control.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
CurrentPageIndex
The current page index of the loaded page in this table.
DataItems
Get the list of the children data items of this table.
Declaration
public IList<GridDataItem> DataItems { get; }
Property Value
EditMode
Get EditMode of GridTableView
EditedIndexes
Collection containing the indexes of the items in edit mode.
Declaration
public IndexesCollection EditedIndexes { get; }
Property Value
EditedItems
Get the list of items that are in edit mode.
Declaration
public IList<GridDataItem> EditedItems { get; }
Property Value
ExpandedIndexes
Collection containting the indexes of the expanded items for the current TableView.
Declaration
public IndexesCollection ExpandedIndexes { get; }
Property Value
ExpandedItems
The list of expanded items for the current TableView.
Declaration
public IList<GridDataItem> ExpandedItems { get; }
Property Value
Groups
Get the list of the groups for this table.
Declaration
public IList<GridGroupHeader> Groups { get; }
Property Value
HasMultiColumnHeaders
Gets whether multi Column Headers are enabled
IsFilterItemVisible
Get whether the filtering is enabled for the table.
IsItemInserted
Get whether the insert mode form is opened in this table.
LocatorExpression
Get the locator FindParam.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
Name
The name of the TableView.
PageCount
The page count of this table.
PageSize
The page size of the table.
SelectedCells
Get the list of selected cells.
Declaration
public IList<GridDataCell> SelectedCells { get; }
Property Value
SelectedItems
Get the list of selected items.
Declaration
public IList<GridDataItem> SelectedItems { get; }
Property Value
VirtualItemCount
Get the virtual item count of the table.
isMultiHeadersAreImplemented
Gets whether multi Column Headers are implemented
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
CommandItemAction(GridCommandItemType, GridCommandItemLocation)
Initiates a default command item template action -- either 'AddNew' or 'Refresh'.
Declaration
public void CommandItemAction(GridCommandItemType commandItemType, GridCommandItemLocation location)
Parameters
commandItemType
The command item type.
location
The position of the CommandItem in the Grid.
ControlAssert()
Returns RadControlAssert instance initialize for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialize for this control.
DragDrop(int, int)
Performs DragDrop of a Grid Item (draggedItemIndex) to another (targetItemIndex).
DragToSelect(int, int)
Performs DragTo from the DataItem with 'start' index to the one with 'end' index selecting the items.
FindCells(Predicate<GridDataCell>)
Get the list of the cells matching the given predicate.
Declaration
public IList<GridDataCell> FindCells(Predicate<GridDataCell> predicate)
Parameters
predicate
The predicate to search for.
Returns
The list of the cells matching the given predicate.
FindItems(Predicate<GridDataItem>)
Get the list of the data items matching the given predicate.
Declaration
public IList<GridDataItem> FindItems(Predicate<GridDataItem> predicate)
Parameters
predicate
The predicate to search for.
Returns
The list of the data items matching the given predicate.
ScrollDown()
Scroll down in the Grid table using the mouse wheel.
Declaration
public void ScrollDown()
ScrollDown(int)
Scroll down in the Grid table using the mouse wheel.
Declaration
public void ScrollDown(int delta)
Parameters
delta
The amount to scroll.
ScrollUp()
Scroll up in the Grid table using the mouse wheel.
Declaration
public void ScrollUp()
ScrollUp(int)
Scroll up in the Grid table using the mouse wheel.
Declaration
public void ScrollUp(int delta)
Parameters
delta
The amount to scroll.
SelectItem(int)
Select an item in the grid.
Declaration
public void SelectItem(int itemIndex)
Parameters
itemIndex
The index of the item to be selected.
SelectItems(params int[])
Select a set of items in the grid.
Declaration
public void SelectItems(params int[] itemIndexes)
Parameters
itemIndexes
int[]
The array of item indexes.