Class
GridTableView

Represents the RadGrid for ASP.NET AJAX TableView control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class GridTableView : HtmlTable

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlTableGridTableView

Inherited Members HtmlTable.BorderHtmlTable.CaptionHtmlTable.CellPaddingHtmlTable.CellSpacingHtmlTable.WidthHtmlTable.this[int]HtmlTable.BodyRowsHtmlTable.HeadRowsHtmlTable.FootRowsHtmlTable.RowsHtmlTable.AllRowsHtmlTable.ColumnCountHtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

GridTableView()

Initializes a new instance of the GridTableView class.

Declaration

cs-api-definition
public GridTableView()

GridTableView(Element)

Initializes a new instance of the GridTableView class.

Declaration

cs-api-definition
public GridTableView(Element element)

Parameters

element

Element

Properties

AllowMultiColumnSorting

Get whether the mult-column sorting is enabled.

Declaration

cs-api-definition
public bool AllowMultiColumnSorting { get; }

Property Value

bool

AllowMultiRowSelection

Get whether the multi row selection is enabled.

Declaration

cs-api-definition
public bool AllowMultiRowSelection { get; }

Property Value

bool

AllowRowSelection

Get whether the row selection is enabled.

Declaration

cs-api-definition
public bool AllowRowSelection { get; }

Property Value

bool

BatchEditType

Get batch edit type of GridTableView

Declaration

cs-api-definition
public string BatchEditType { get; }

Property Value

string

CanInsertItem

Get whether the standard table command item is enabled either in the header or the footer.

Declaration

cs-api-definition
public bool CanInsertItem { get; }

Property Value

bool

ClientSideLocator

The client-side locator of the table HTML control.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

CurrentPageIndex

The current page index of the loaded page in this table.

Declaration

cs-api-definition
public int CurrentPageIndex { get; }

Property Value

int

DataItems

Get the list of the children data items of this table.

Declaration

cs-api-definition
public IList<GridDataItem> DataItems { get; }

Property Value

IList<GridDataItem>

EditMode

Get EditMode of GridTableView

Declaration

cs-api-definition
public string EditMode { get; }

Property Value

string

EditedIndexes

Collection containing the indexes of the items in edit mode.

Declaration

cs-api-definition
public IndexesCollection EditedIndexes { get; }

Property Value

IndexesCollection

EditedItems

Get the list of items that are in edit mode.

Declaration

cs-api-definition
public IList<GridDataItem> EditedItems { get; }

Property Value

IList<GridDataItem>

ExpandedIndexes

Collection containting the indexes of the expanded items for the current TableView.

Declaration

cs-api-definition
public IndexesCollection ExpandedIndexes { get; }

Property Value

IndexesCollection

ExpandedItems

The list of expanded items for the current TableView.

Declaration

cs-api-definition
public IList<GridDataItem> ExpandedItems { get; }

Property Value

IList<GridDataItem>

Groups

Get the list of the groups for this table.

Declaration

cs-api-definition
public IList<GridGroupHeader> Groups { get; }

Property Value

IList<GridGroupHeader>

HasMultiColumnHeaders

Gets whether multi Column Headers are enabled

Declaration

cs-api-definition
public bool HasMultiColumnHeaders { get; }

Property Value

bool

IsFilterItemVisible

Get whether the filtering is enabled for the table.

Declaration

cs-api-definition
public bool IsFilterItemVisible { get; }

Property Value

bool

IsItemInserted

Get whether the insert mode form is opened in this table.

Declaration

cs-api-definition
public bool IsItemInserted { get; }

Property Value

bool

LocatorExpression

Get the locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

Name

The name of the TableView.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

PageCount

The page count of this table.

Declaration

cs-api-definition
public int PageCount { get; }

Property Value

int

PageSize

The page size of the table.

Declaration

cs-api-definition
public int PageSize { get; }

Property Value

int

SelectedCells

Get the list of selected cells.

Declaration

cs-api-definition
public IList<GridDataCell> SelectedCells { get; }

Property Value

IList<GridDataCell>

SelectedItems

Get the list of selected items.

Declaration

cs-api-definition
public IList<GridDataItem> SelectedItems { get; }

Property Value

IList<GridDataItem>

VirtualItemCount

Get the virtual item count of the table.

Declaration

cs-api-definition
public int VirtualItemCount { get; }

Property Value

int

isMultiHeadersAreImplemented

Gets whether multi Column Headers are implemented

Declaration

cs-api-definition
public bool isMultiHeadersAreImplemented { get; }

Property Value

bool

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlTable.AssignElement(Element)

CommandItemAction(GridCommandItemType, GridCommandItemLocation)

Initiates a default command item template action -- either 'AddNew' or 'Refresh'.

Declaration

cs-api-definition
public void CommandItemAction(GridCommandItemType commandItemType, GridCommandItemLocation location)

Parameters

commandItemType

GridCommandItemType

The command item type.

location

GridCommandItemLocation

The position of the CommandItem in the Grid.

ControlAssert()

Returns RadControlAssert instance initialize for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialize for this control.

DragDrop(int, int)

Performs DragDrop of a Grid Item (draggedItemIndex) to another (targetItemIndex).

Declaration

cs-api-definition
public void DragDrop(int draggedItemIndex, int targetItemIndex)

Parameters

draggedItemIndex

int

targetItemIndex

int

DragToSelect(int, int)

Performs DragTo from the DataItem with 'start' index to the one with 'end' index selecting the items.

Declaration

cs-api-definition
public void DragToSelect(int startIndex, int endIndex)

Parameters

startIndex

int

The index of the data item to start dragging from.

endIndex

int

The index of the data item to end drag-to-select.

FindCells(Predicate<GridDataCell>)

Get the list of the cells matching the given predicate.

Declaration

cs-api-definition
public IList<GridDataCell> FindCells(Predicate<GridDataCell> predicate)

Parameters

predicate

Predicate<GridDataCell>

The predicate to search for.

Returns

IList<GridDataCell>

The list of the cells matching the given predicate.

FindItems(Predicate<GridDataItem>)

Get the list of the data items matching the given predicate.

Declaration

cs-api-definition
public IList<GridDataItem> FindItems(Predicate<GridDataItem> predicate)

Parameters

predicate

Predicate<GridDataItem>

The predicate to search for.

Returns

IList<GridDataItem>

The list of the data items matching the given predicate.

ScrollDown()

Scroll down in the Grid table using the mouse wheel.

Declaration

cs-api-definition
public void ScrollDown()

ScrollDown(int)

Scroll down in the Grid table using the mouse wheel.

Declaration

cs-api-definition
public void ScrollDown(int delta)

Parameters

delta

int

The amount to scroll.

ScrollUp()

Scroll up in the Grid table using the mouse wheel.

Declaration

cs-api-definition
public void ScrollUp()

ScrollUp(int)

Scroll up in the Grid table using the mouse wheel.

Declaration

cs-api-definition
public void ScrollUp(int delta)

Parameters

delta

int

The amount to scroll.

SelectItem(int)

Select an item in the grid.

Declaration

cs-api-definition
public void SelectItem(int itemIndex)

Parameters

itemIndex

int

The index of the item to be selected.

SelectItems(params int[])

Select a set of items in the grid.

Declaration

cs-api-definition
public void SelectItems(params int[] itemIndexes)

Parameters

itemIndexes

int[]

The array of item indexes.