RadGridView
RadGridView is a complex data visualization control that displays and enables editing of tabular data from various data sources. It provides rich functionality including hierarchical data representation, sorting, filtering, grouping, data validation, and custom cell editing.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[TelerikToolboxCategory("Data Controls")]
[ComplexBindingProperties("DataSource", "DataMember")]
public class RadGridView : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPrintable, IFilterable, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadGridView...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadGridView class. Creates a new grid view control with default settings and initializes the print style.
public RadGridView()
Properties
Gets the active editor
[Browsable(false)]
public IInputEditor ActiveEditor { get; }
Gets or sets a value indicating the location of the new row in the view template.
[Browsable(true)]
public SystemRowPosition AddNewRowPosition { get; set; }
Gets or sets a value indicating whether the user can add new rows through the grid.
[Browsable(true)]
public bool AllowAddNewRow { get; set; }
When set to true an empty row is added in which the user can enter data for the new record.
Set to false to hide the row.
The row position is controlled through AddNewRowPosition
Gets or sets a value indicating whether user can automatically resize a column to fit its content by double-clicking the right border of header cell.
[Browsable(false)]
public bool AllowAutoSizeColumns { get; set; }
Gets or sets a value indicating whether context menu is displayed when user right clicks on a data cell.
[Browsable(true)]
public bool AllowCellContextMenu { get; set; }
Gets or sets a value indicating whether GridViewColumnChooser is available to the user for this instance of GridViewTemplate.
[Browsable(true)]
public bool AllowColumnChooser { get; set; }
Gets or sets a value indicating whether context menu is displayed when user right clicks on a column header.
[Browsable(true)]
public bool AllowColumnHeaderContextMenu { get; set; }
Gets or sets a value indicating whether user can reorder Columns.
[Browsable(true)]
public bool AllowColumnReorder { get; set; }
Gets or sets a value indicating whether user can resize columns.
[Browsable(true)]
public bool AllowColumnResize { get; set; }
This property does not prevent developer from setting Width
Gets or sets a value indicating whether user can delete rows.
[Browsable(true)]
public bool AllowDeleteRow { get; set; }
Gets or sets a value indicating whether user can drag a column header to grouping panel.
[Browsable(true)]
public bool AllowDragToGroup { get; set; }
Gets or sets a value indicating whether user can edit rows.
[Browsable(true)]
public bool AllowEditRow { get; set; }
Gets or sets a value indicating whether the end-user can sort by more than one column.
[Browsable(false)]
public bool AllowMultiColumnSorting { get; set; }
Gets or sets a value indicating whether context menu is displayed when user right clicks on a row header.
[Browsable(true)]
public bool AllowRowHeaderContextMenu { get; set; }
Gets or sets a value indicating whether the user is able to reorder rows in the grid
[Browsable(true)]
public bool AllowRowReorder { get; set; }
Gets or sets a value indicating whether user can resize a row.
[Browsable(true)]
public bool AllowRowResize { get; set; }
This property does not prevent developer from setting Height
Gets or sets a value indicating whether the user can search through the data of the grid.
[Browsable(true)]
public bool AllowSearchRow { get; set; }
When set to true a search row is added in which the user can enter search criteria.
Set to false to hide the row.
The row position is controlled through SearchRowPosition
Sets or gets a value indicating the initial state of group rows when data is grouped.
[Browsable(true)]
public bool AutoExpandGroups { get; set; }
Gets or sets a value indicating whether columns are created automatically when the or properties are set.
[Browsable(true)]
public bool AutoGenerateColumns { get; set; }
true if the columns should be created automatically; otherwise, false. The default is true.
Gets or sets a value indicating whether the RadGridView will automatically build hierarchy from DataSource.
[Browsable(true)]
public bool AutoGenerateHierarchy { get; set; }
Gets or sets a value indicating whether the control is automatically resized to display its entire contents.
[Browsable(true)]
public override bool AutoSize { get; set; }
Overrides:
Gets or sets a value indicating how column widths are determined.
[Browsable(true)]
public GridViewAutoSizeColumnsMode AutoSizeColumnsMode { get; set; }
Gets or sets a value indicating whether row height in a RataGridView will expand for multiline cell text
[Browsable(true)]
public bool AutoSizeRows { get; set; }
Gets or sets value indicating how user begins editing a cell.
[Browsable(true)]
public RadGridViewBeginEditMode BeginEditMode { get; set; }
Gets or sets a value indicating how bottom pinned rows are laid out.
[Browsable(true)]
public GridViewBottomPinnedRowsMode BottomPinnedRowsMode { get; set; }
Indicates whether string comparisons of data are case-sensitive.
[Browsable(true)]
public bool CaseSensitive { get; set; }
Gets the child rows.
[Browsable(false)]
public GridViewChildRowCollection ChildRows { get; }
The child rows.
Gets or sets the position to place tabs for child views related with this template.
[Browsable(true)]
public TabPositions ChildViewTabsPosition { get; set; }
Gets or sets a value that indicates whether users can copy cell text values to the System.Windows.Forms.Clipboard and whether row and column header text is included.
[Browsable(true)]
public GridViewClipboardCopyMode ClipboardCopyMode { get; set; }
Gets or sets a value that indicates whether users can cut cell text values to the System.Windows.Forms.Clipboard and whether row and column header text is included.
[Browsable(true)]
public GridViewClipboardCutMode ClipboardCutMode { get; set; }
Gets or sets a value that indicates whether users can paste Clipboard values to the RadGridView control.
[Browsable(true)]
public GridViewClipboardPasteMode ClipboardPasteMode { get; set; }
Gets or sets a value indicating whether the active editor should be closed when validation process fails.
[Browsable(true)]
public bool CloseEditorWhenValidationFails { get; set; }
Gets the current column chooser
[Browsable(false)]
public GridViewColumnChooser ColumnChooser { get; }
Gets or sets the column chooser sort order.
[Browsable(true)]
public RadSortOrder ColumnChooserSortOrder { get; set; }
The column chooser sort order.
Gets or sets the number of columns displayed.
[Browsable(false)]
public int ColumnCount { get; set; }
Gets the columns.
public GridViewColumnCollection Columns { get; }
The columns.
Gets an instance of GridViewContextMenuManager or the instance that implements IContextMenuManager interface.
[Browsable(false)]
public virtual IContextMenuManager ContextMenuManager { get; }
Gets the currently active cell in the grid.
[Browsable(false)]
public GridDataCellElement CurrentCell { get; }
Gets the row and column indexes of the currently active cell.
[Browsable(false)]
public Point CurrentCellAddress { get; }
Gets or sets the current column of the currently active view containing the current cell.
[Browsable(false)]
public GridViewColumn CurrentColumn { get; set; }
Gets or sets the current row of the currently active view containing the current cell.
[Browsable(false)]
public GridViewRowInfo CurrentRow { get; set; }
Gets the currently active view in the RadGridView
[Browsable(false)]
public IRowView CurrentView { get; set; }
Gets or sets the name of the list or table in the data source for which the GridViewTemplate is displaying data.
[Browsable(true)]
public string DataMember { get; set; }
Gets or sets the data source that the RadGridView is displaying data for. This property can be set to various data sources including DataTable, DataSet, IList, or any object that implements IListSource or IEnumerable.
[Browsable(true)]
public object DataSource { get; set; }
Implements:
Gets the default size of the control.
protected override Size DefaultSize { get; }
The default Size of the control.
Overrides:
Gets an instance of GridViewEditManager that defines how to initialize and create cells and editors.
[Browsable(false)]
public GridViewEditManager EditorManager { get; }
Gets or sets a value indicating whether alternating row color is enabled.
[Browsable(true)]
public virtual bool EnableAlternatingRowColor { get; set; }
Gets or sets a value specifying if the custom drawing (e.g. CellPaint and RowPaint) is enabled
[Browsable(true)]
public bool EnableCustomDrawing { get; set; }
Gets or sets a value indicating whether the custom filtering functionality should be enabled. Use the CustomFiltering event to apply the desired filters.
[Browsable(true)]
public bool EnableCustomFiltering { get; set; }
Gets or sets a value indicating whether the custom grouping functionality should be enabled. Use the CustomGrouping event to group the data.
[Browsable(true)]
public bool EnableCustomGrouping { get; set; }
Gets or sets a value indicating whether the custom sorting functionality should be enabled. Use the CustomSorting event to apply the desired sorting.
[Browsable(true)]
public bool EnableCustomSorting { get; set; }
Gets or sets value indicating if fast scrolling mode is turned on.
[Browsable(true)]
public bool EnableFastScrolling { get; set; }
Gets or sets value indicating whether users can filter data in the master view template.
[Browsable(true)]
public bool EnableFiltering { get; set; }
Gets or sets value indicating whether users can group data in the master view template.
[Browsable(true)]
public bool EnableGrouping { get; set; }
Gets or sets value indicating whether hot tracking is enabled.
[Browsable(true)]
public bool EnableHotTracking { get; set; }
Gets or sets a value indicating whether the kinetic scrolling function is enabled.
[Browsable(true)]
public bool EnableKineticScrolling { get; set; }
Gets or sets value indicating whether users can paginate data in the master view template.
[Browsable(true)]
public bool EnablePaging { get; set; }
Gets or sets value indicating whether users can sort data in master view template.
[Browsable(true)]
public bool EnableSorting { get; set; }
Gets or sets a value indicating whether the UI Automation functionality is enabled or disabled for this control.
public override bool EnableUIAutomation { get; set; }
Overrides:
Implements:
Gets or sets value indicating the behavior when the user presses Enter.
[Browsable(true)]
public RadGridViewEnterKeyMode EnterKeyMode { get; set; }
Gets the filter descriptors of master template.
[Browsable(true)]
public FilterDescriptorCollection FilterDescriptors { get; }
The filter descriptors of master template.
Implements:
Gets or sets an instance of BaseGridBehavior or the instance that implements IGridBehavior interface.
[Browsable(false)]
public virtual IGridBehavior GridBehavior { get; set; }
Gets an instance of BaseGridNavigator or the instance that implements IGridNavigator interface.
[Browsable(false)]
public virtual IGridNavigator GridNavigator { get; }
Gets the instance of GridVisualElement. This instance is wrapped by this control and the main element in the hierarchy tree and encapsulates the actual functionality of RadGridView.
[Browsable(false)]
public RadGridViewElement GridViewElement { get; }
Gets the group descriptors of master template.
[Browsable(true)]
public GroupDescriptorCollection GroupDescriptors { get; }
The group descriptors of master template.
Gets or set a value indicating the animation effect that will be used when expanding/collapsing groups.
[Browsable(true)]
public GridExpandAnimationType GroupExpandAnimationType { get; set; }
Gets a collection that contains the all groups in the MasterTemplate.
[Browsable(false)]
public DataGroupCollection Groups { get; }
Gets or sets a value indicating whether the selected item in the control remains highlighted when the control loses focus.
Returns: true if the selected item does not appear highlighted when the control loses focus; false if the selected item still appears highlighted when the control loses focus. The default is true.
[Browsable(true)]
public bool HideSelection { get; set; }
Gets or sets the display state of grid horizontal scrollbars.
[Browsable(true)]
public ScrollState HorizontalScrollState { get; set; }
Gets whether the grid is disposing.
protected virtual bool IsDisposing { get; }
The is disposing.
Gets a value indicating whether the cell is in edit mode.
[Browsable(false)]
public bool IsInEditMode { get; }
Gets the MasterGridViewTemplate representing the top-most level of the hierarchical data in the grid. The MasterTemplate provides access to columns, rows, and all data operations for the main grid view.
[Browsable(false)]
public MasterGridViewTemplate MasterTemplate { get; }
Gets the top-most GridViewInfo level of the grid.
[Browsable(false)]
public GridViewInfo MasterView { get; }
Gets or sets a value indicating how the merged cells will be edited.
[Browsable(true)]
public MergeCellsEditMode MergeCellsEditMode { get; set; }
Indicates whether and how the cells will be merged.
[Browsable(true)]
public MergeCellsMode MergeCellsMode { get; set; }
Gets or sets a value indicating whether the user is allowed to select more than one cell, row, or column of the RadGridView at a time.
[Browsable(true)]
public bool MultiSelect { get; set; }
Gets or sets value indicating the behavior when the user presses Enter while adding new row.
[Browsable(true)]
public RadGridViewNewRowEnterKeyMode NewRowEnterKeyMode { get; set; }
Gets or sets value indicating the number of rows in the master view template when paging is enabled.
[Browsable(true)]
public int PageSize { get; set; }
Gets or sets the print settings dialog factory.
[Browsable(false)]
public IPrintSettingsDialogFactory PrintSettingsDialogFactory { get; set; }
The print settings dialog factory.
Gets or sets a value indicating how the RadGridView is printed.
[Browsable(true)]
public GridPrintStyle PrintStyle { get; set; }
Gets or sets a value indicating whether the user can edit the cells of the RadGridView control.
[Browsable(true)]
public bool ReadOnly { get; set; }
Gets collection of GridViewRelation instances that represent the hierarchical structure.
[Browsable(true)]
public GridViewRelationCollection Relations { get; }
Gets or sets the number of rows contained in the current GridViewTemplate.
[Browsable(false)]
public int RowCount { get; set; }
Gets a collection that contains the all rows in the MasterTemplate.
[Browsable(false)]
public GridViewRowCollection Rows { get; }
Gets or sets a value indicating the location of the search row.
[Browsable(true)]
public SystemRowPosition SearchRowPosition { get; set; }
Gets the collection of cells selected by the user.
[Browsable(false)]
public GridViewSelectedCellsCollection SelectedCells { get; }
Gets the collection of rows selected by the user.
[Browsable(false)]
public GridViewSelectedRowsCollection SelectedRows { get; }
Gets or sets a value indicating how the cells of the RadGridView can be selected.
[Browsable(true)]
public GridViewSelectionMode SelectionMode { get; set; }
Gets or sets a value indicating whether to show cell errors.
[Browsable(true)]
public bool ShowCellErrors { get; set; }
Gets or sets a value indicating whether to show child view captions.
[Browsable(true)]
public bool ShowChildViewCaptions { get; set; }
Indicates whether summary rows of collapsed groups will be visible. If true the summary rows will not be hidden when the group is collapsed. Note that the GridViewGroupRowInfo has the same property and it has higher priority. If you need different behavior for different groups/group levels, you can use the CreateRowInfo event and set the ShowCollapsedGroupSummaries of each group individually.
[Browsable(true)]
public bool ShowCollapsedGroupSummaries { get; set; }
Gets or sets a value indicating whether the column headers are visible.
[Browsable(true)]
public bool ShowColumnHeaders { get; set; }
Gets or sets a value indicating whether the filtering row should be visible.
[Browsable(true)]
public bool ShowFilteringRow { get; set; }
Gets or sets a value indicating whether the columns by which the data is grouped are visible.
[Browsable(true)]
public bool ShowGroupedColumns { get; set; }
Set to false, and each column contained in the GroupDescriptors, will get hidden. Set to true to see all columns. If some column is still not visible, check IsVisible.
Gets or sets value indicating whether the GridGroupPanel is visible.
[Browsable(true)]
public bool ShowGroupPanel { get; set; }
Gets or sets a value indicating whether the group panel will show scroll bars or it will expand to show all group headers.
[Browsable(true)]
public bool ShowGroupPanelScrollbars { get; set; }
Gets or sets a value indicating whether the header cell buttons are visible.
[Browsable(true)]
public bool ShowHeaderCellButtons { get; set; }
Gets or sets the text to use when there is no data.
[Browsable(true)]
public bool ShowNoDataText { get; set; }
Gets or sets a value indicating whether to show row errors.
[Browsable(true)]
public bool ShowRowErrors { get; set; }
Gets or sets a value indicating whether the row header column is visible.
[Browsable(true)]
public bool ShowRowHeaderColumn { get; set; }
Gets or sets a value indicating whether the select column is visible. The select column in only supported for the GridViewSelectionMode.FullRowSelect.
[Browsable(true)]
public bool ShowSelectColumn { get; set; }
Gets the sort descriptors of master template.
[Browsable(true)]
public SortDescriptorCollection SortDescriptors { get; }
The sort descriptors.
Gets or sets a value indicating how to split RadGridView.
[Browsable(true)]
public RadGridViewSplitMode SplitMode { get; set; }
Gets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell in the control.
[Browsable(true)]
public bool StandardTab { get; set; }
Gets the collection containing summary rows placed at the bottom of each DataGroup.
[Browsable(true)]
public GridViewSummaryRowItemCollection SummaryRowsBottom { get; }
Gets the collection containing summary rows placed on top of each DataGroup.
[Browsable(true)]
public GridViewSummaryRowItemCollection SummaryRowsTop { get; }
Gets or sets whether when changing the current row in one split view the same row in the other split view will be brought into view.
[Browsable(true)]
public bool SynchronizeCurrentRowInSplitMode { get; set; }
Gets the instance of GridTableElement
[Browsable(false)]
public GridTableElement TableElement { get; }
Gets the child templates of master template.
[Browsable(true)]
public GridViewTemplateCollection Templates { get; }
The child templates of master template.
Gets or sets a value indicating the position of the title.
[Browsable(true)]
public Dock TitlePosition { get; set; }
Gets or set the text of the grid title.
[Browsable(true)]
public string TitleText { get; set; }
Gets or sets a value indicating whether to use dedicated vertical scrollbars in hierarchy.
[Browsable(true)]
public bool UseScrollbarsInHierarchy { get; set; }
Gets or sets the display state of grid vertical scrollbars.
[Browsable(true)]
public ScrollState VerticalScrollState { get; set; }
Gets or sets the IGridViewDefinition associated with the MasterTemplate.
[Browsable(false)]
public IGridViewDefinition ViewDefinition { get; set; }
Gets or sets a value indicating whether you have provided your own data-management operations for the RadGridView control.
[Browsable(true)]
public bool VirtualMode { get; set; }
The virtual mode.
Gets the serialization info for RadGridView used by Save/Load layout methods to persist grid settings to/from XML. By default, or when set to null the ComponentXmlSerializationInfo provided by GetDefaultXmlSerializationInfo() will be used.
[Browsable(false)]
public ComponentXmlSerializationInfo XmlSerializationInfo { get; set; }
Methods
Puts the current cell in edit mode.
Suspends layout during initialization.
public override void BeginInit()
Overrides:
Suspends the drawing and layout logic of the grid. Call this method before performing multiple operations on the grid to improve performance, and call EndUpdate() when finished.
public void BeginUpdate()
Widens / shrinks all columns based on the space required by the text in the columns.
public void BestFitColumns()
Widens / shrinks all columns based on the space required by the text in the columns.
Close the currently active editor and discard changes.
Clears the current selection by deselecting all selected cells (rows).
public void ClearSelection()
Ends the edit operation without committing the changes
Gets whether the control defines the theme for the specific element.
public override bool ControlDefinesThemeForElement(RadElement element)
The element.
Returns:Overrides:
Copy the formatted values that represent the contents of the selected cells to the System.Windows.Forms.Clipboard.
public virtual void Copy()
Creates a new accessibility object for the control.
protected override AccessibleObject CreateAccessibilityInstance()
A new AccessibleObject for the control.
Overrides:
Creates the child items.
protected override void CreateChildItems(RadElement parent)
The parent.
Overrides:
Creates the grid view element.
Creates the grid view layout serializer.
protected virtual GridViewLayoutSerializer CreateGridViewLayoutSerializer(ComponentXmlSerializationInfo info)
The info.
Returns:Moves the current selection in the to the Clipboard.
public virtual void Cut()
Calls internally BeginUpdate.
Releases the unmanaged resources used by the RadGridView and optionally releases the managed resources.
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Commits any changes and ends the edit operation on the current cell.
Resumes layout.
public override void EndInit()
Overrides:
Resumes the drawing and layout logic of the grid after a call to BeginUpdate(). This method raises all appropriate change notifications.
public void EndUpdate()
Resumes the drawing and layout logic of the grid after a call to BeginUpdate().
public void EndUpdate(bool notify)
When true, raises appropriate change notifications after resuming updates.
Evaluates the specified expression.
public object Evaluate(string expression, IEnumerable<GridViewRowInfo> rows)
The expression.
rowsIEnumerable<GridViewRowInfo>The rows.
Returns:Retrieves the formatted values that represent the contents of the selected cells for copying to the System.Windows.Forms.Clipboard.
Gets the default serialization info for RadGridView used by Save/Load layout methods to persist grid settings to/from XML.
public virtual ComponentXmlSerializationInfo GetDefaultXmlSerializationInfo()
You can use the serialization info to include/exclude properties of RadGridView and related objects from XML serialization.
Example:
ComponentXmlSerializationInfo serializationInfo = radGridView1.
info.SerializationMetadata.Add();
Hides the GridViewColumnChooser
public void HideColumnChooser()
Invalidates the multi selection.
protected virtual void InvalidateMultiSelection()
Unbound load the IDatareader data and reset current DataSource for MasterTemplate
Loads RadGridView properties, sub-objects and their properties from XML stream, using the serialization information provided by the XmlSerializationInfo property
Loads RadGridView properties, sub-objects and their properties from XML file, using the serialization information provided by the XmlSerializationInfo property
Loads RadGridView properties, sub-objects and their properties from XML reader, using the serialization information provided by the XmlSerializationInfo property
Called when a new column is automatically generated.
protected virtual void OnAutoGeneratingColumn(object sender, GridViewAutoGeneratingColumnEventArgs e)
The sender.
eGridViewAutoGeneratingColumnEventArgsThe GridViewAutoGeneratingColumnEventArgs instance containing the event data.
Raises the BindingContextChanged event.
Called when the row editing is canceled.
protected virtual void OnCancelRowEdit(object sender, QuestionEventArgs e)
The sender.
eQuestionEventArgsThe QuestionEventArgs instance containing the event data.
Called when the cell begins editing.
protected virtual void OnCellBeginEdit(object sender, GridViewCellCancelEventArgs e)
The sender.
eGridViewCellCancelEventArgsThe GridViewCellCancelEventArgs instance containing the event data.
Called when [cell click].
protected virtual void OnCellClick(object sender, GridViewCellEventArgs e)
The sender.
eGridViewCellEventArgsThe GridViewCellEventArgs instance containing the event data.
Called when the cell is double clicked.
protected void OnCellDoubleClick(object sender, GridViewCellEventArgs e)
The sender.
eGridViewCellEventArgsThe GridViewCellEventArgs instance containing the event data.
Raises the CellEditorInitialized event.
protected virtual void OnCellEditorInitialized(object sender, GridViewCellEventArgs e)
The cell that is to be edited.
eGridViewCellEventArgsA GridViewCellEventArgs instance containing event data.
Called when the cell ends editing.
protected virtual void OnCellEndEdit(object sender, GridViewCellEventArgs e)
The sender.
eGridViewCellEventArgsThe GridViewCellEventArgs instance containing the event data.
Raises the CellFormatting event
protected void OnCellFormatting(object sender, CellFormattingEventArgs e)
The cell that needs formatting.
eCellFormattingEventArgsA CellFormattingEventArgs instance containing event data.
Raises the CellMerging event
protected void OnCellMerging(GridViewCellMergingEventArgs e)
A GridViewCellMergingEventArgsinstance containing event data.
Raises the CellMouseMove event
protected void OnCellMouseMove(object sender, MouseEventArgs e)
Raises the CellPaint event.
protected virtual void OnCellPaint(object sender, GridViewCellPaintEventArgs e)
The owner control.
eGridViewCellPaintEventArgsAn instance of GridViewCellPaintEventArgs containing event data.
Raises the CellValidated event.
protected virtual void OnCellValidated(object sender, CellValidatedEventArgs e)
Raises the CellValidating event.
protected virtual void OnCellValidating(object sender, CellValidatingEventArgs e)
Called when the cell value is changed.
protected virtual void OnCellValueChanged(object sender, GridViewCellEventArgs e)
The sender.
eGridViewCellEventArgsThe GridViewCellEventArgs instance containing the event data.
Raises the CellValueNeeded event.
protected virtual void OnCellValueNeeded(object sender, GridViewCellValueEventArgs e)
The owner control.
eGridViewCellValueEventArgsAn instance of GridViewRowEventArgs containing event data.
Raises the CellValuePushed event.
protected virtual void OnCellValuePushed(object sender, GridViewCellValueEventArgs e)
The owner control.
eGridViewCellValueEventArgsAn instance of GridViewRowEventArgs containing event data.
Called when the child view is expanded.
protected virtual void OnChildViewExpanded(object sender, ChildViewExpandedEventArgs e)
The sender.
eChildViewExpandedEventArgsThe ChildViewExpandedEventArgs instance containing the event data.
Called when the child view is expanding.
protected virtual void OnChildViewExpanding(object sender, ChildViewExpandingEventArgs e)
The sender.
eChildViewExpandingEventArgsThe ChildViewExpandingEventArgs instance containing the event data.
Occurs for hierarchy rows with more than one child views.
protected virtual void OnChildViewPrinting(object sender, ChildViewPrintingEventArgs e)
The print renderer that is currently printing the grid.
eChildViewPrintingEventArgsCalled when the column chooser item element is creating.
protected virtual void OnColumnChooserItemElementCreating(object sender, ColumnChooserItemElementCreatingEventArgs e)
The sender.
eColumnChooserItemElementCreatingEventArgsThe ColumnChooserItemElementCreatingEventArgs instance containing the event data.
Called when the column width is changed.
protected virtual void OnColumnWidthChanged(object sender, ColumnWidthChangedEventArgs args)
The sender.
argsColumnWidthChangedEventArgsThe ColumnWidthChangedEventArgs instance containing the event data.
Called when the column width is changing.
protected virtual void OnColumnWidthChanging(object sender, ColumnWidthChangingEventArgs args)
The sender.
argsColumnWidthChangingEventArgsThe ColumnWidthChangingEventArgs instance containing the event data.
Called when the command cell is clicked.
protected virtual void OnCommandCellClick(object sender, GridViewCellEventArgs args)
The sender.
argsGridViewCellEventArgsThe GridViewCellEventArgs instance containing the event data.
Raises the ConditionalFormattingFormShown event.
Called when the context menu is opening.
protected virtual void OnContextMenuOpening(object sender, ContextMenuOpeningEventArgs args)
The sender.
argsContextMenuOpeningEventArgsThe ContextMenuOpeningEventArgs instance containing the event data.
Called when RadGridView has prepared appropriate data formats that represent the copy selection, added the copy selection formats to a DataObject, and is ready to either place the DataObject on the Clipboard.
protected virtual void OnCopying(object sender, GridViewClipboardEventArgs e)
The sender.
eGridViewClipboardEventArgsThe GridViewClipboardEventArgs instance containing the event data.
Called when the cell clipboard content is being copied.
protected virtual void OnCopyingCellClipboardContent(object sender, GridViewCellValueEventArgs e)
The sender.
eGridViewCellValueEventArgsThe GridViewCellValueEventArgs instance containing the event data.
Raises the CreateCell event.
protected virtual void OnCreateCell(object sender, GridViewCreateCellEventArgs e)
The owner control.
eGridViewCreateCellEventArgsAn instance of GridViewCreateCellEventArgs containing event data.
Raises the CreateCompositeFilterDialog event.
protected virtual void OnCreateCompositeFilterDialog(object sender, GridViewCreateCompositeFilterDialogEventArgs e)
The sender.
eGridViewCreateCompositeFilterDialogEventArgsThe GridViewCreateCompositeFilterDialogEventArgs instance containing the event data.
Raises the CreateRow event.
protected virtual void OnCreateRow(object sender, GridViewCreateRowEventArgs e)
The owner control.
eGridViewCreateRowEventArgsAn instance of GridViewCreateRowEventArgs containing event data.
Called when the row info is created.
protected virtual void OnCreateRowInfo(object sender, GridViewCreateRowInfoEventArgs e)
The sender.
eGridViewCreateRowInfoEventArgsThe GridViewCreateRowInfoEventArgs instance containing the event data.
Called when the current cell is changed.
protected virtual void OnCurrentCellChanged(object sender, CurrentCellChangedEventArgs e)
The sender.
eCurrentCellChangedEventArgsThe CurrentCellChangedEventArgs instance containing the event data.
Raises the CurrentColumnChanged event.
protected virtual void OnCurrentColumnChanged(object sender, CurrentColumnChangedEventArgs e)
A CurrentColumnChangedEventArgs that contains the event data.
Called when the current row is changed.
protected virtual void OnCurrentRowChanged(object sender, CurrentRowChangedEventArgs e)
The sender.
eCurrentRowChangedEventArgsThe CurrentRowChangedEventArgs instance containing the event data.
Called when the current row is changing.
protected virtual void OnCurrentRowChanging(object sender, CurrentRowChangingEventArgs e)
The sender.
eCurrentRowChangingEventArgsThe CurrentRowChangingEventArgs instance containing the event data.
Raises the CustomFiltering event.
protected virtual void OnCustomFiltering(object sender, GridViewCustomFilteringEventArgs e)
The owner control.
eGridViewCustomFilteringEventArgsAn instance of GridViewCustomFilteringEventArgs containing event data.
Raises the CustomGrouping event.
protected virtual void OnCustomGrouping(object sender, GridViewCustomGroupingEventArgs e)
The owner control.
eGridViewCustomGroupingEventArgsAn instance of GridViewCustomGroupingEventArgs containing event data.
Raises the CustomSorting event.
protected virtual void OnCustomSorting(object sender, GridViewCustomSortingEventArgs e)
The owner control.
eGridViewCustomSortingEventArgsAn instance of GridViewCustomSortingEventArgs containing event data.
Raises the DataBindingComplete event.
protected virtual void OnDataBindingComplete(object sender, GridViewBindingCompleteEventArgs e)
An GridViewBindingCompleteEventArgs instance that contains the event data.
Called when a data error occurs.
protected virtual void OnDataError(object sender, GridViewDataErrorEventArgs e)
The sender.
eGridViewDataErrorEventArgsThe GridViewDataErrorEventArgs instance containing the event data.
Fires when the data group requires in virtual mode..
protected virtual void OnDataGroupNeeded(object sender, GridViewDataGroupEventArgs e)
The sender.
eGridViewDataGroupEventArgsThe GridViewDataGroupEventArgs instance containing the event data.
Raises the DefaultValuesNeeded event.
protected virtual void OnDefaultValuesNeeded(object sender, DefaultValuesNeededEventArgs e)
The owner control.
eDefaultValuesNeededEventArgsAn instance of DefaultValuesNeededEventArgs containing event data.
Fires when an element for editing a cell is showing.
protected virtual void OnEditorRequired(object sender, EditorRequiredEventArgs e)
The sender.
eEditorRequiredEventArgsThe EditorRequiredEventArgs instance containing the event data.
Fires when a new expression editor form is created.
protected virtual void OnExpressionEditorFormCreated(object sender, ExpressionEditorFormCreatedEventArgs e)
The sender.
eExpressionEditorFormCreatedEventArgsThe ExpressionEditorFormCreatedEventArgs instance containing the event data.
Fires when the filter is changed.
protected void OnFilterChanged(object sender, GridViewCollectionChangedEventArgs e)
The sender.
eGridViewCollectionChangedEventArgsThe GridViewCollectionChangedEventArgs instance containing the event data.
Called when the filter is changing.
protected void OnFilterChanging(object sender, GridViewCollectionChangingEventArgs e)
The sender.
eGridViewCollectionChangingEventArgsThe GridViewCollectionChangingEventArgs instance containing the event data.
Called when the filter expression is changed.
protected void OnFilterExpressionChanged(object sender, FilterExpressionChangedEventArgs args)
The sender.
argsFilterExpressionChangedEventArgsThe FilterExpressionChangedEventArgs instance containing the event data.
Raises the FilterPopupInitialized event.
protected virtual void OnFilterPopupInitialized(object sender, FilterPopupInitializedEventArgs e)
The sender.
eFilterPopupInitializedEventArgsThe FilterPopupInitializedEventArgs instance containing the event data.
Raises the FilterPopupRequired event.
protected virtual void OnFilterPopupRequired(object sender, FilterPopupRequiredEventArgs e)
The sender.
eFilterPopupRequiredEventArgsThe FilterPopupRequiredEventArgs instance containing the event data.
Fires when grouping is changed.
protected virtual void OnGroupByChanged(object sender, GridViewCollectionChangedEventArgs e)
The sender.
eGridViewCollectionChangedEventArgsThe GridViewCollectionChangedEventArgs instance containing the event data.
Fires when grouping is changing.
protected virtual void OnGroupByChanging(object sender, GridViewCollectionChangingEventArgs e)
The sender.
eGridViewCollectionChangingEventArgsThe GridViewCollectionChangingEventArgs instance containing the event data.
Fires when the DataGroup is expanded or collapsed.
protected virtual void OnGroupExpanded(object sender, GroupExpandedEventArgs e)
The sender.
eGroupExpandedEventArgsThe GroupExpandedEventArgs instance containing the event data.
Fires when the DataGroup is expanding or collapsing. This behavior is valid when grouping or hierarchy mode is applied.
protected virtual void OnGroupExpanding(object sender, GroupExpandingEventArgs e)
The sender.
eGroupExpandingEventArgsThe GroupExpandingEventArgs instance containing the event data.
Fires after the user has changed the sorting of the group.
protected virtual void OnGroupSortChanged(object sender, GridViewGroupSortChangedEventArgs e)
The sender.
eGridViewGroupSortChangedEventArgsThe GridViewGroupSortChangedEventArgs instance containing the event data.
Fires when the user changes the sorting of the group. The action can be canceled.
protected virtual void OnGroupSortChanging(object sender, GridViewGroupSortChangingEventArgs e)
The sender.
eGridViewGroupSortChangingEventArgsThe GridViewGroupSortChangingEventArgs instance containing the event data.
Fires when evaluation of group summary is undergoing.
protected virtual void OnGroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
The sender.
eGroupSummaryEvaluationEventArgsThe GroupSummaryEvaluationEventArgs instance containing the event data.
Fires when a toggle state changed of RadCheckBoxElement in header cell.
protected virtual void OnHeaderCellToggleStateChanged(object sender, GridViewHeaderCellEventArgs args)
The sender.
argsGridViewHeaderCellEventArgsThe GridViewHeaderCellEventArgs instance containing the event data.
Fires when a link from a GridViewHyperlinkColumn is opened.
protected void OnHyperlinkOpened(object sender, HyperlinkOpenedEventArgs e)
The sender.
eHyperlinkOpenedEventArgsThe HyperlinkOpenedEventArgs instance containing the event data.
Called when the hyperlink is opening.
protected void OnHyperlinkOpening(object sender, HyperlinkOpeningEventArgs e)
The sender.
eHyperlinkOpeningEventArgsThe HyperlinkOpeningEventArgs instance containing the event data.
Raises the KeyDown event.
protected override void OnKeyDown(KeyEventArgs e)
A KeyEventArgs that contains the event data.
Overrides:
Raises the event.
protected override void OnKeyPress(KeyPressEventArgs e)
The KeyPressEventArgs instance containing the event data.
Overrides:
Raises the KeyUp event.
protected override void OnKeyUp(KeyEventArgs e)
A KeyEventArgs that contains the event data.
Overrides:
Fires when the layout is loaded.
protected void OnLayoutLoaded(object sender, LayoutLoadedEventArgs e)
The sender.
eLayoutLoadedEventArgsThe LayoutLoadedEventArgs instance containing the event data.
Notifies that the control is about to be visualized.
Raises the MouseClick event.
protected override void OnMouseClick(MouseEventArgs e)
An MouseEventArgs that contains the event data.
Overrides:
Raises the MouseDoubleClick event.
protected override void OnMouseDoubleClick(MouseEventArgs e)
An MouseEventArgs that contains the event data.
Overrides:
Raises the event.
protected override void OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Raises the MouseMove event.
protected override void OnMouseMove(MouseEventArgs e)
A MouseEventArgs that contains the event data.
Overrides:
Raises the MouseUp event.
protected override void OnMouseUp(MouseEventArgs e)
A MouseEventArgs that contains the event data.
Overrides:
Raises the MouseWheel event.
protected override void OnMouseWheel(MouseEventArgs e)
A MouseEventArgs that contains the event data.
Overrides:
Fires when the unbound cell requires a value for a cell in order to format and display the cell.
protected virtual void OnNewRowNeeded(object sender, GridViewRowEventArgs e)
The sender.
eGridViewRowEventArgsThe GridViewRowEventArgs instance containing the event data.
Fires when the current page is changing.
protected virtual void OnPageChanging(object sender, PageChangingEventArgs e)
The sender.
ePageChangingEventArgsThe PageChangingEventArgs instance containing the event data.
Occurs when the RadGridView is ready to paste data.
protected virtual void OnPasting(object sender, GridViewClipboardEventArgs e)
The sender.
eGridViewClipboardEventArgsThe GridViewClipboardEventArgs instance containing the event data.
Occurs when the RadGridView is ready to paste data to individual cells.
protected virtual void OnPastingCellClipboardContent(object sender, GridViewCellValueEventArgs e)
The sender.
eGridViewCellValueEventArgsThe GridViewCellValueEventArgs instance containing the event data.
Raises the PrintCellFormatting event
protected virtual void OnPrintCellFormatting(object sender, PrintCellFormattingEventArgs e)
The grid cell that needs formatting.
ePrintCellFormattingEventArgsA PrintCellFormattingEventArgsinstance containing event data.
Raises the PrintCellPaint event
protected virtual void OnPrintCellPaint(object sender, PrintCellPaintEventArgs e)
The grid cell that is painted.
ePrintCellPaintEventArgsA PrintCellPaintEventArgsinstance containing event data.
Fires when an unbound cell requires a value for a cell in order to format and display the cell.
protected virtual void OnRowDirtyStateNeeded(object sender, QuestionEventArgs e)
The sender.
eQuestionEventArgsThe QuestionEventArgs instance containing the event data.
Raises the RowFormatting event.
protected void OnRowFormatting(object sender, RowFormattingEventArgs e)
The row that needs formatting.
eRowFormattingEventArgsA RowFormattingEventArgs instance containing event data.
Fires after the height of a row changes.
protected virtual void OnRowHeightChanged(object sender, RowHeightChangedEventArgs args)
The sender.
argsRowHeightChangedEventArgsThe RowHeightChangedEventArgs instance containing the event data.
Fires before the height of a row changes.
protected virtual void OnRowHeightChanging(object sender, RowHeightChangingEventArgs args)
The sender.
argsRowHeightChangingEventArgsThe RowHeightChangingEventArgs instance containing the event data.
Raises the RowMouseMove event.
protected void OnRowMouseMove(object sender, MouseEventArgs e)
The row under the mouse pointer.
eMouseEventArgsA MouseEventArgs instance containing event data.
Raises the RowPaint event.
protected virtual void OnRowPaint(object sender, GridViewRowPaintEventArgs e)
The owner control.
eGridViewRowPaintEventArgsAn instance of GridViewRowPaintEventArgs containing event data.
Fires when the Rows collection of a GridViewTemplate changes.
protected virtual void OnRowsChanged(object sender, GridViewCollectionChangedEventArgs args)
The sender.
argsGridViewCollectionChangedEventArgsThe GridViewCollectionChangedEventArgs instance containing the event data.
Fires before the Rows collection of a GridViewTemplate changes.
protected virtual void OnRowsChanging(object sender, GridViewCollectionChangingEventArgs args)
The sender.
argsGridViewCollectionChangingEventArgsThe GridViewCollectionChangingEventArgs instance containing the event data.
Fires the RowSourceNeeded event.
protected virtual void OnRowSourceNeeded(object sender, GridViewRowSourceNeededEventArgs e)
The sender.
eGridViewRowSourceNeededEventArgsThe GridViewRowSourceNeededEventArgs instance containing the event data.
Raises the RowValidated event.
protected virtual void OnRowValidated(object sender, RowValidatedEventArgs e)
An instance of RowValidatedEventArgs containing event data.
Raises the RowValidating event.
protected virtual void OnRowValidating(object sender, RowValidatingEventArgs e)
An instance of RowValidatingEventArgs containing event data.
Fires when the current selection is changing.
protected virtual void OnSelectionChanging(object sender, GridViewSelectionCancelEventArgs e)
The sender.
eGridViewSelectionCancelEventArgsThe GridViewSelectionCancelEventArgs instance containing the event data.
Fires when sorting is changed.
protected virtual void OnSortChanged(object sender, GridViewCollectionChangedEventArgs e)
The sender.
eGridViewCollectionChangedEventArgsThe GridViewCollectionChangedEventArgs instance containing the event data.
Fires when sorting is changing.
protected virtual void OnSortChanging(object sender, GridViewCollectionChangingEventArgs e)
The sender.
eGridViewCollectionChangingEventArgsThe GridViewCollectionChangingEventArgs instance containing the event data.
Occurs when the user has finished adding a row to the RadGridView.
protected virtual void OnUserAddedRow(object sender, GridViewRowEventArgs e)
The sender.
eGridViewRowEventArgsThe GridViewRowEventArgs instance containing the event data.
Occurs when the user adding new row to the RadGridView.
protected virtual void OnUserAddingRow(object sender, GridViewRowCancelEventArgs e)
The sender.
eGridViewRowCancelEventArgsThe GridViewRowCancelEventArgs instance containing the event data.
Occurs when the user has finished deleting a row from the RadGridView.
protected virtual void OnUserDeletedRow(object sender, GridViewRowEventArgs e)
The sender.
eGridViewRowEventArgsThe GridViewRowEventArgs instance containing the event data.
Occurs when the user deletes a row from the RadGridView.
protected virtual void OnUserDeletingRow(object sender, GridViewRowCancelEventArgs e)
The sender.
eGridViewRowCancelEventArgsThe GridViewRowCancelEventArgs instance containing the event data.
Raises the Validating event.
protected override void OnValidating(CancelEventArgs e)
A CancelEventArgs that contains the event data.
Overrides:
Fires before the value in a cell is changing.
protected virtual void OnValueChanging(object sender, ValueChangingEventArgs e)
The sender.
eValueChangingEventArgsThe ValueChangingEventArgs instance containing the event data.
Raises the ViewCellFormatting event
protected void OnViewCellFormatting(object sender, CellFormattingEventArgs e)
The grid cell that needs formatting.
eCellFormattingEventArgsA CellFormattingEventArgsinstance containing event data.
Raises the ViewRowFormatting event.
protected void OnViewRowFormatting(object sender, RowFormattingEventArgs e)
The row that needs formatting.
eRowFormattingEventArgsA RowFormattingEventArgs instance containing event data.
Paste the contents of the System.Windows.Forms.Clipboard to the current view.
public virtual void Paste()
Directly prints the RadGridView to the default printer without showing a print dialog.
public virtual void Print()
Directly prints the RadGridView to the default printer or shows printer settings and then prints the RadGridView.
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)
Indicates whether printer settings dialog should be shown.
documentRadPrintDocumentAs instance of RadPrintDocument used to control the print process.
Directly prints the RadGridView to the default printer or shows printer settings and then prints the RadGridView.
public virtual void Print(bool showPrinterSettings)
Indicates whether printer settings dialog should be shown.
Shows a print preview dialog for editing the RadGridView print settings and previewing how the grid will appear when printed.
public virtual void PrintPreview()
Shows a print preview dialog for editing the RadGridView print settings and previewing how the grid will appear when printed, using the provided print document.
public virtual void PrintPreview(RadPrintDocument document)
An instance of RadPrintDocument used to control the print process.
Processes the coded UI message.
protected override void ProcessCodedUIMessage(ref IPCMessage request)
The request.
Overrides:
Stores to a stream RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Stores to a file RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Stores RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
public virtual void SaveLayout(XmlWriter xmlWriter)
XmlWriter to use by the built-in serializer
Select all cells (rows) in RadGriView
public void SelectAll()
Shows the GridViewColumnChooser for the columns of the master view template.
public void ShowColumnChooser()
Shows the GridViewColumnChooser.
public void ShowColumnChooser(GridViewTemplate template)
The template which columns will be shown for.
Unsubscribe from the handled events.
protected virtual void UnWireEvents()
Subscribe to events handling the basic features in RadGridView.
protected virtual void WireEvents()
Events
Fires each time a new column is automatically generated and is about to be added to the columns of RadGridView. Occurs one time for each public, non-static property in the bound data type when the DataSource property is changed and the AutoGenerateColumns property is true.
[Browsable(true)]
public event GridViewAutoGeneratingColumnEventHandler AutoGeneratingColumn
Fires when the cell is entering edit mode. The action can be canceled.
[Browsable(true)]
public event GridViewCellCancelEventHandler CellBeginEdit
Fires when a cell is clicked.
[Browsable(true)]
public event GridViewCellEventHandler CellClick
Fires when a cell is double clicked.
[Browsable(true)]
public event GridViewCellEventHandler CellDoubleClick
Fires when an element for editing a cell is initialized and visible.
[Browsable(true)]
public event GridViewCellEventHandler CellEditorInitialized
Fires when the cell editing is finished.
[Browsable(true)]
public event GridViewCellEventHandler CellEndEdit
Fires when the content of a data cell needs to be formatted for display.
[Browsable(true)]
public event CellFormattingEventHandler CellFormatting
Fires when the two neighbor cells are compared and about to be merged.
[Browsable(true)]
public event GridViewCellMergingEventHandler CellMerging
Fires when the mouse pointer moves over the cell.
[Browsable(true)]
public event CellMouseMoveEventHandler CellMouseMove
Fires when a cell needs to be painted.
[Browsable(true)]
public event GridViewCellPaintEventHandler CellPaint
Fires when a row has finished validating.
public event CellValidatedEventHandler CellValidated
Fires when Cell is validating.
public event CellValidatingEventHandler CellValidating
Fires when the value of a cell changes.
[Browsable(true)]
public event GridViewCellEventHandler CellValueChanged
Fires when the unbound cell requires a value for a cell in order to format and display the cell.
[Browsable(true)]
public event GridViewCellValueEventHandler CellValueNeeded
Fires when the unbound cell changed and requires storage in the underlying data source.
[Browsable(true)]
public event GridViewCellValueEventHandler CellValuePushed
Fires when the child view is expanded or collapsed.
[Browsable(true)]
public event ChildViewExpandedEventHandler ChildViewExpanded
Fires when the child view is expanded or collapsed.
[Browsable(true)]
public event ChildViewExpandingEventHandler ChildViewExpanding
Fires for hierarchy rows with more than one child views.
[Browsable(true)]
public event ChildViewPrintingEventHandler ChildViewPrinting
Fires when a ColumnChooserCreated is created.
[Browsable(true)]
public event ColumnChooserCreatedEventHandler ColumnChooserCreated
Fires when a new column chooser item element is being created.
[Browsable(true)]
public event ColumnChooserItemElementCreatingEventHandler ColumnChooserItemElementCreating
Fires when the width of a column changes.
[Browsable(true)]
public event ColumnWidthChangedEventHandler ColumnWidthChanged
Fires before the width of a column changes.
[Browsable(true)]
public event ColumnWidthChangingEventHandler ColumnWidthChanging
Fires when a command cell is clicked.
[Browsable(true)]
public event CommandCellClickEventHandler CommandCellClick
public event EventHandler ConditionalFormattingFormShown
Fires before a context menu is shown.
[Browsable(true)]
public event ContextMenuOpeningEventHandler ContextMenuOpening
Occurs when the RadGridView has prepared appropriate data formats that represent the copy selection, added the copy selection formats to a DataObject, and is ready to either place the DataObject on the Clipboard.
[Browsable(true)]
public event GridViewClipboardEventHandler Copying
Occurs when the RadGridView prepares each cell's value to be placed on the Clipboard.
[Browsable(true)]
public event GridViewCellValueEventHandler CopyingCellClipboardContent
Fires when a cell needs to be created.
[Browsable(true)]
public event GridViewCreateCellEventHandler CreateCell
Occurs when a composite filter dialog is being created.
[Browsable(true)]
public event GridViewCreateCompositeFilterDialogEventHandler CreateCompositeFilterDialog
Fires when a row needs to be created.
[Browsable(true)]
public event GridViewCreateRowEventHandler CreateRow
Occurs when the instance of GridViewRowInfo is created.
public event GridViewCreateRowInfoEventHandler CreateRowInfo
Fires after the current cell has changed.
[Browsable(true)]
public event CurrentCellChangedEventHandler CurrentCellChanged
Fires when the current column has changed.
[Browsable(true)]
public event CurrentColumnChangedEventHandler CurrentColumnChanged
Fires when current row is changed.
[Browsable(true)]
public event CurrentRowChangedEventHandler CurrentRowChanged
Fires when the current row is changing. The action can be canceled.
[Browsable(true)]
public event CurrentRowChangingEventHandler CurrentRowChanging
Fires when the current view in RadGridView has changed.
[Browsable(true)]
public event GridViewCurrentViewChangedEventHandler CurrentViewChanged
Fires for custom filtering operation.
[Browsable(true)]
public event GridViewCustomFilteringEventHandler CustomFiltering
Fires for custom grouping operation.
[Browsable(true)]
public event GridViewCustomGroupingEventHandler CustomGrouping
Fires for custom sorting operation.
[Browsable(true)]
public event GridViewCustomSortingEventHandler CustomSorting
Fires after data binding operation has finished.
[Browsable(true)]
public event GridViewBindingCompleteEventHandler DataBindingComplete
Fires when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
[Browsable(true)]
public event GridViewDataErrorEventHandler DataError
Fires when the data group is required in virtual mode.
[Browsable(true)]
public event GridViewDataGroupEventHandler DataGroupNeeded
Fires when the user enters the row for new records, so that it can be populated with default values.
[Browsable(true)]
public event GridViewRowEventHandler DefaultValuesNeeded
Fires after CellBeginEdit.
[Browsable(true)]
public event EditorRequiredEventHandler EditorRequired
Fires when a new expression editor form is created.
[Browsable(true)]
public event ExpressionEditorFormCreatedEventHandler ExpressionEditorFormCreated
Occurs when the filter is changed.
[Browsable(true)]
public event GridViewCollectionChangedEventHandler FilterChanged
Occurs when the filter is changing.
[Browsable(true)]
public event GridViewCollectionChangingEventHandler FilterChanging
Occurs when the filter expression is changed.
[Browsable(true)]
public event GridViewFilterExpressionChangedEventHandler FilterExpressionChanged
Occurs when the filter popup has been initialized.
[Browsable(true)]
public event FilterPopupInitializedEventHandler FilterPopupInitialized
Occurs when a filter popup is required.
[Browsable(true)]
public event FilterPopupRequiredEventHandler FilterPopupRequired
Fires when grouping is changed.
public event GridViewCollectionChangedEventHandler GroupByChanged
Fires when grouping is changing. The action can be canceled.
public event GridViewCollectionChangingEventHandler GroupByChanging
Fires when the DataGroup is expanded or collapsed.
[Browsable(true)]
public event GroupExpandedEventHandler GroupExpanded
Fires when the DataGroup is expanding or collapsing. This behavior is valid when grouping or hierarchy mode is applied.
[Browsable(true)]
public event GroupExpandingEventHandler GroupExpanding
Fires after the user has changed the sorting of the group.
public event GridViewGroupSortChangedEventHandler GroupSortChanged
Fires when the user changes the sorting of the group. The action can be canceled.
public event GridViewGroupSortChangingEventHandler GroupSortChanging
Fires when evaluation of group summary is undergoing.
[Browsable(true)]
public event GroupSummaryEvaluateEventHandler GroupSummaryEvaluate
Allows modification of the result by providing access to the currently evaluated value and the data group.
Fires when a toggle state changed of RadCheckBoxElement in header cell.
[Browsable(true)]
public event HeaderCellToggleStateChangedEventHandler HeaderCellToggleStateChanged
Occurs when the hyperlink is opened.
public event HyperlinkOpenedEventHandler HyperlinkOpened
Occurs when the hyperlink is opening.
public event HyperlinkOpeningEventHandler HyperlinkOpening
Occurs when the layout is loaded.
[Browsable(true)]
public event LayoutLoadedEventHandler LayoutLoaded
Fires after the current page has changed.
[Browsable(true)]
public event EventHandler<EventArgs> PageChanged
Fires when the current page is changing.
[Browsable(true)]
public event EventHandler<PageChangingEventArgs> PageChanging
Occurs when the RadGridView is ready to paste data.
[Browsable(true)]
public event GridViewClipboardEventHandler Pasting
Occurs when the RadGridView is ready to paste data to individual cells.
[Browsable(true)]
public event GridViewCellValueEventHandler PastingCellClipboardContent
Fires when the content of any grid cell needs to be formatted for printing.
[Browsable(true)]
public event PrintCellFormattingEventHandler PrintCellFormatting
Fires when the content of any grid cell needs to be formatted for printing.
[Browsable(true)]
public event PrintCellPaintEventHandler PrintCellPaint
Fires when a data row is invalidated and needs to be formatted.
[Browsable(true)]
public event RowFormattingEventHandler RowFormatting
Fires after the height of a row changes.
[Browsable(true)]
public event RowHeightChangedEventHandler RowHeightChanged
Fires before the height of a row changes.
[Browsable(true)]
public event RowHeightChangingEventHandler RowHeightChanging
Fires when the mouse pointer moves over a row.
[Browsable(true)]
public event RowMouseMoveEventHandler RowMouseMove
Fires when a row needs to be painted.
[Browsable(true)]
public event GridViewRowPaintEventHandler RowPaint
Fires when the Rows collection of a GridViewTemplate changes.
[Browsable(true)]
public event GridViewCollectionChangedEventHandler RowsChanged
Fires before the Rows collection of a GridViewTemplate changes.
[Browsable(true)]
public event GridViewCollectionChangingEventHandler RowsChanging
Provides data for the parent row in RadGridView Hierarchy Mode
[Browsable(true)]
public event GridViewRowSourceNeededEventHandler RowSourceNeeded
Fires when a row is validated.
public event RowValidatedEventHandler RowValidated
Fires before a row is validated.
public event RowValidatingEventHandler RowValidating
Fires when the current selection is changed.
[Browsable(true)]
public event EventHandler SelectionChanged
Fires when the current selection is changing.
[Browsable(true)]
public event GridViewSelectionCancelEventHandler SelectionChanging
Fires when the sorting is changed.
public event GridViewCollectionChangedEventHandler SortChanged
Fires when the sorting is changing. The action can be canceled.
public event GridViewCollectionChangingEventHandler SortChanging
Occurs when the user has finished adding a row to the RadGridView
[Browsable(true)]
public event GridViewRowEventHandler UserAddedRow
Occurs when the user adding new row to the RadGridView
[Browsable(true)]
public event GridViewRowCancelEventHandler UserAddingRow
Occurs when the user has finished deleting a row from the RadGridView.
[Browsable(true)]
public event GridViewRowEventHandler UserDeletedRow
Occurs when the user deletes a row from the RadGridView.
[Browsable(true)]
public event GridViewRowCancelEventHandler UserDeletingRow
Fires when the value of an editor changes.
[Browsable(true)]
public event EventHandler ValueChanged
Fires before the value in an editor is being changed. The action can be canceled.
[Browsable(true)]
public event ValueChangingEventHandler ValueChanging
Fires when the content of any grid cell needs to be formatted for display.
[Browsable(true)]
public event CellFormattingEventHandler ViewCellFormatting
Fires when a grid row is invalidated and needs to be formatted.
[Browsable(true)]
public event RowFormattingEventHandler ViewRowFormatting