Back to Devexpress

ASPxClientVerticalGrid Members

aspnet-js-aspxclientverticalgrid-dot-underscore-members.md

latest18.8 KB
Original Source

ASPxClientVerticalGrid Members

A client-side equivalent of the ASPxVerticalGrid object.

Properties

NameDescription
batchEditApiProvides access to the batch editing client API.
nameGets the unique, hierarchically-qualified identifier for the control. Inherited from ASPxClientControlBase.

Methods

NameDescription
AddNewRecordAdds a new record.
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.
ApplySearchPanelFilter(value)Applies the specified search panel filter criterion to grid data.
CancelEditCancels all the changes made and switches the ASPxVerticalGrid to browse mode.
Cast(obj) staticConverts the specified object to the ASPxClientVerticalGrid type.
ClearFilterClears the filter expression applied to a client vertical grid.
CloseFilterControlHides the Filter Control.
DeleteRecord(visibleIndex)Deletes the specified record.
DeleteRecordByKey(key)Deletes a record with the specified key value.
ExportTo(format)Exports a grid data to a file in the specified format.
FocusSets input focus to the grid.
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.
GetHeightReturns the control’s height. Inherited from ASPxClientControl.
GetHorizontalScrollPositionReturns the current horizontal scroll position of the grid’s content.
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.
GetPageIndexGets the index of the page currently being selected.
GetPageRecordValues(fieldNames, onCallback)Returns the record values displayed within the current page.
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).
GetRecordValues(visibleIndex, fieldNames, onCallback)Returns the values of the specified data source fields within the specified record.
GetRow(rowIndex)Returns the client row that resides at the specified position within the row collection.
GetRowByField(rowFieldName)Returns the client row which is bound to the specified data source field.
GetRowById(rowId)Returns the row with the specified unique identifier.
GetRowCountReturns the number of rows within the client vertical grid.
GetRowExpanded(row)Gets the value that specifies whether the required row is expanded.
GetSelectedFieldValues(fieldNames, onCallback)Returns the record values displayed within all selected records.
GetSelectedKeysOnPageReturns key values of selected records displayed within the current page.
GetSelectedRecordCountReturns the number of selected records.
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.
GetValuesOnCustomCallback(args, onCallback)Sends a callback to the server and generates the server-side ASPxVerticalGrid.CustomDataCallback event.
GetVerticalScrollPositionReturns the current vertical scroll position of the grid’s content.
GetVisibleReturns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetVisibleRecordsOnPageReturns the number of records actually displayed on the active page.
GetWidthReturns the control’s width. Inherited from ASPxClientControl.
GotoPage(pageIndex)Selects the specified page.
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.
NextPageActivates the next page.
PerformCallback(args)Sends a callback to the server and generates the server-side event, passing the specified argument to it.
PrevPageActivates the previous page.
RefreshUpdates vertical grid data.
SelectAllRecordsOnPageAllows you to select or deselect all records displayed on the current page based on the parameter passed.
SelectRecordOnPage(visibleIndex)Selects or deselects the specified record displayed on the current page.
SelectRecordsSelects or deselects the specified records within the grid.
SelectRecordsByKey(keys)Selects or deselects the specified records displayed within the grid.
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.
SetFixedRowsTopOffset(offset)Sets the offset from the container’s top border to fixed rows while scrolling the page.
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. | | SetRowExpanded(row, value) | Sets a value indicating whether the row is expanded. | | SetSearchPanelCustomEditor(editor) | Specifies a custom editor for the search panel on the client side. | | SetVerticalScrollPosition(position) | Specifies the vertical scroll position for the grid’s content. | | 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. | | SortBy(row) | Sorts data by the specified data row‘s values, and places the row to the specified position among the sorted rows. | | UnselectAllRecordsOnPage | Deselects all selected records displayed on the current page. | | UnselectFilteredRecords | Deselects all grid records that match the filter criteria currently applied to the grid. | | UnselectRecordOnPage(visibleIndex) | Deselects the specified record (if selected) displayed on the current page. | | UnselectRecords | Deselects the specified records (if selected) within the grid. | | UnselectRecordsByKey(keys) | Deselects the specified records displayed within the grid. | | UpdateEdit | Saves all the changes made and switches the grid to browse mode. |

Events

NameDescription
BatchEditChangesCancelingOccurs on the client side before data changes are canceled in batch edit mode.
BatchEditChangesSavingOccurs on the client side before data changes are saved in batch edit mode.
BatchEditConfirmShowingEnables you to prevent a batch edit confirmation message from being displayed.
BatchEditEndEditingOccurs when a grid leaves the batch edit mode.
BatchEditRecordChangesCancelingAllows you to handle a Cancel button click for a record in batch edit mode.
BatchEditRecordDeletingOccurs on the client side before a record is deleted in batch edit mode.
BatchEditRecordInsertingOccurs on the client side before a record is inserted in batch edit mode.
BatchEditRecordRecoveringOccurs on the client side before a record is deleted in batch edit mode.
BatchEditRecordValidatingEnables you to specify whether record data is valid and provide an error text.
BatchEditStartEditingOccurs when a grid switches to batch edit mode.
BatchEditSummaryDisplayTextFires when a user changes the summary item value. Inherited from ASPxClientGridBase.
BatchEditTemplateCellFocusedEnables you to provide navigation for editors contained in a templated cell in Batch Edit mode.
BeginCallbackOccurs when a callback for server-side processing is initiated.
CallbackErrorFires on the client if any unhandled server error occurs during server-side processing of a callback sent by the ASPxClientVerticalGrid.
CellSelectionChangingOccurs when you select or deselect a cell.
ClipboardCellPastingOccurs before a cell is pasted to the control from the clipboard. Allows you to update the pasted data or skip a cell.
CustomButtonClickOccurs when a custom command button has been clicked.
EndCallbackOccurs on the client after a callback’s server-side processing has been completed.
FocusedCellChangingOccurs on the client side when the focused cell is about to be changed.
InitOccurs on the client side after the control has been initialized. Inherited from ASPxClientControlBase.
KeyDownOccurs when a user presses a key while the control has focus. Inherited from ASPxClientGridBase.
KeyPressOccurs when a user presses and releases a key while the control has focus. Inherited from ASPxClientGridBase.
KeyUpOccurs when a user releases the pressed key while the control has focus. Inherited from ASPxClientGridBase.
RecordClickFires on the client when a record is clicked.
RecordDblClickFires on the client when a record is double clicked.
RowExpandedChangedFires on the client side after a row’s expansion state has been changed by end-user interaction.
RowExpandedChangingFires on the client side before the expansion state of a row is changed by end-user interaction.
RowSortingEnables you to prevent rows from being sorted.
SelectionChangedFires after the selection has been changed.
ToolbarItemClickFires after a toolbar item has been clicked. Inherited from ASPxClientGridBase.

See Also

ASPxClientVerticalGrid Class