Back to Devexpress

MVCxClientVerticalGrid Methods

aspnetmvc-js-mvcxclientverticalgrid-dot-underscore-methods.md

latest16.7 KB
Original Source

MVCxClientVerticalGrid Methods

A client-side counterpart of the VerticalGrid extension.

NameDescription
AddNewRecordAdds a new record. Inherited from ASPxClientVerticalGrid.
AdjustControlModifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls staticModifies the controls size within the specified container. Inherited from ASPxClientControl.
ApplyFilter(filterExpression)Applies the specified filter expression to the ASPxVerticalGrid. Inherited from ASPxClientVerticalGrid.
ApplySearchPanelFilter(value)Applies the specified search panel filter criterion to grid data. Inherited from ASPxClientVerticalGrid.
CancelEditCancels all the changes made and switches the ASPxVerticalGrid to browse mode. Inherited from ASPxClientVerticalGrid.
Cast(obj) staticConverts the specified object to the MVCxClientVerticalGrid type.
ClearFilterClears the filter expression applied to a client vertical grid. Inherited from ASPxClientVerticalGrid.
CloseFilterControlHides the Filter Control. Inherited from ASPxClientVerticalGrid.
DeleteRecord(visibleIndex)Deletes the specified record. Inherited from ASPxClientVerticalGrid.
DeleteRecordByKey(key)Deletes a record with the specified key value. Inherited from ASPxClientVerticalGrid.
ExportTo(format)Exports a grid data to a file in the specified format. Inherited from ASPxClientVerticalGrid.
FocusSets input focus to the grid. Inherited from ASPxClientVerticalGrid.
GetClientVisibleObsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetControlCollection staticReturns a collection of client web control objects. Inherited from ASPxClientControl.
GetEditor(row)Returns the editor used to edit the specified row’s values. Inherited from ASPxClientVerticalGrid.
GetHeightReturns the control’s height. Inherited from ASPxClientControl.
GetHorizontalScrollPositionReturns the current horizontal scroll position of the grid’s content. Inherited from ASPxClientVerticalGrid.
GetMainElementReturns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetPageCountGets the number of pages to which the grid’s data is divided. Inherited from ASPxClientVerticalGrid.
GetPageIndexGets the index of the page currently being selected. Inherited from ASPxClientVerticalGrid.
GetPageRecordValues(fieldNames, onCallback)Returns the record values displayed within the current page. Inherited from ASPxClientVerticalGrid.
GetParentControlReturns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetRecordKey(visibleIndex)Returns the key value of the specified data row (record in the vertical grid). Inherited from ASPxClientVerticalGrid.
GetRecordValues(visibleIndex, fieldNames, onCallback)Returns the values of the specified data source fields within the specified record. Inherited from ASPxClientVerticalGrid.
GetRow(rowIndex)Returns the client row that resides at the specified position within the row collection. Inherited from ASPxClientVerticalGrid.
GetRowByField(rowFieldName)Returns the client row which is bound to the specified data source field. Inherited from ASPxClientVerticalGrid.
GetRowById(rowId)Returns the row with the specified unique identifier. Inherited from ASPxClientVerticalGrid.
GetRowCountReturns the number of rows within the client vertical grid. Inherited from ASPxClientVerticalGrid.
GetRowExpanded(row)Gets the value that specifies whether the required row is expanded. Inherited from ASPxClientVerticalGrid.
GetSelectedFieldValues(fieldNames, onCallback)Returns the record values displayed within all selected records. Inherited from ASPxClientVerticalGrid.
GetSelectedKeysOnPageReturns key values of selected records displayed within the current page. Inherited from ASPxClientVerticalGrid.
GetSelectedRecordCountReturns the number of selected records. Inherited from ASPxClientVerticalGrid.
GetToolbar(index)Returns a grid’s toolbar specified by its index. Inherited from ASPxClientGridBase.
GetToolbarByName(name)Returns a toolbar specified by its name. Inherited from ASPxClientGridBase.
GetTopVisibleIndexReturns the index of the first record displayed within the vertical grid’s active page. Inherited from ASPxClientVerticalGrid.
GetValuesOnCustomCallback(data, onCallback)Sends a callback with a parameter to process the passed information on the server, in an Action specified via the VerticalGrid’s GridSettingsBase.CustomDataActionRouteValues property, and then process the returned result in the specified client function. This method does not update the VerticalGrid.
GetVerticalScrollPositionReturns the current vertical scroll position of the grid’s content. Inherited from ASPxClientVerticalGrid.
GetVisibleReturns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetVisibleRecordsOnPageReturns the number of records actually displayed on the active page. Inherited from ASPxClientVerticalGrid.
GetWidthReturns the control’s width. Inherited from ASPxClientControl.
GotoPage(pageIndex)Selects the specified page. Inherited from ASPxClientVerticalGrid.
InCallbackReturns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
IsRecordSelectedOnPage(visibleIndex)Indicates whether or not the specified record is selected within the current page. Inherited from ASPxClientVerticalGrid.
NextPageActivates the next page. Inherited from ASPxClientVerticalGrid.
PerformCallback(data)Sends a callback with a parameter to update the VerticalGrid by processing the passed information on the server in an Action specified via the grid’s GridSettingsBase.CustomActionRouteValues property.
PrevPageActivates the previous page. Inherited from ASPxClientVerticalGrid.
RefreshUpdates vertical grid data. Inherited from ASPxClientVerticalGrid.
SelectAllRecordsOnPageAllows you to select or deselect all records displayed on the current page based on the parameter passed. Inherited from ASPxClientVerticalGrid.
SelectRecordOnPage(visibleIndex)Selects or deselects the specified record displayed on the current page. Inherited from ASPxClientVerticalGrid.
SelectRecordsSelects or deselects the specified records within the grid. Inherited from ASPxClientVerticalGrid.
SelectRecordsByKey(keys)Selects or deselects the specified records displayed within the grid. Inherited from ASPxClientVerticalGrid.
SendMessageToAssistiveTechnology(message)Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetClientVisible(visible)Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetFilterEnabled(isFilterEnabled)Enables or disables the current filter. Inherited from ASPxClientVerticalGrid.
SetFixedRowsTopOffset(offset)Sets the offset from the container’s top border to fixed rows while scrolling the page. Inherited from ASPxClientVerticalGrid.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl. | | SetHorizontalScrollPosition(position) | Specifies the horizontal scroll position for the grid’s content. Inherited from ASPxClientVerticalGrid. | | SetRowExpanded(row, value) | Sets a value indicating whether the row is expanded. Inherited from ASPxClientVerticalGrid. | | SetSearchPanelCustomEditor(editor) | Specifies a custom editor for the search panel on the client side. Inherited from ASPxClientVerticalGrid. | | SetVerticalScrollPosition(position) | Specifies the vertical scroll position for the grid’s content. Inherited from ASPxClientVerticalGrid. | | SetVisible(visible) | Specifies whether a control is displayed. Inherited from ASPxClientControlBase. | | SetWidth(width) | Specifies the control’s width in pixels. Inherited from ASPxClientControl. | | ShowFilterControl | Displays the Filter Control. Inherited from ASPxClientVerticalGrid. | | SortBy(row) | Sorts data by the specified data row‘s values, and places the row to the specified position among the sorted rows. Inherited from ASPxClientVerticalGrid. | | UnselectAllRecordsOnPage | Deselects all selected records displayed on the current page. Inherited from ASPxClientVerticalGrid. | | UnselectFilteredRecords | Deselects all grid records that match the filter criteria currently applied to the grid. Inherited from ASPxClientVerticalGrid. | | UnselectRecordOnPage(visibleIndex) | Deselects the specified record (if selected) displayed on the current page. Inherited from ASPxClientVerticalGrid. | | UnselectRecords | Deselects the specified records (if selected) within the grid. Inherited from ASPxClientVerticalGrid. | | UnselectRecordsByKey(keys) | Deselects the specified records displayed within the grid. Inherited from ASPxClientVerticalGrid. | | UpdateEdit | Saves all the changes made and switches the grid to browse mode. Inherited from ASPxClientVerticalGrid. |

See Also

MVCxClientVerticalGrid Class

MVCxClientVerticalGrid Members