ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid Methods

The methods of the C1TrueDBGrid class are listed here. For a complete list of C1TrueDBGrid class members, see the C1TrueDBGrid Members topic.

Public Methods

AddCellStyle

Controls the Style used to change the appearance for cells meeting the specified condition.

AddRegexCellStyle

Controls the Style used to change the appearance of cells according to their contents.

AddRow

Overloaded. Overridden. Adds a row to an unbound grid.

AddRows

Overridden. Adds the number of given rows to an unbound grid.

CellContaining

Returns the cell position for a set of coordinates.

ClearCellStyle

Removes a cell condition established with a previous call to the AddCellStyle method.

ClearFields

Restores the default grid layout.

ClearRegexCellStyle

Overloaded. Removes a cell condition established with a previous call to the AddRegexCellStyle method.

ColContaining

Returns the column index for the column containing the specified X coordinate.

CollapseBand

Collapses a gvien band in a hierarchical grid.

CollapseChild

Closes the Child Grid.

CollapseGroupRow

Collapses a grouped row.

Delete

Overloaded. Overridden. Deletes the current row.

ExpandBand

Expand the given band in a hierarchical grid.

ExpandChild

Displays the Child grid.

ExpandGroupRow

Expands the given row in GroupBy DataView.

ExportTo

Overloaded. Opens a dialog in which the user can select the export format.

ExportToDelimitedFile

Overloaded. Exports the specified rows from the grid to the specified file as delimited text.

ExportToExcel

Overloaded. Exports the grid to a XLS file.

ExportToHTML

Exports the grid to an HTML file.

ExportToPDF

Exports the grid to a PDF file.

ExportToRTF

Exports the grid to an RTF file.

GetBand

Obtains the band given a column index.

GetBandRow

Obtains the underlying row object for the given band and row.

InsertHorizontalSplit

Inserts new horizontal splits at the given position.

InsertVerticalSplit

Inserts vertical splits at the given position.

LoadLayout

Overloaded. Loads a saved layout from the given stream.

MoveFirst

Positions to the first row of the datasource.

MoveLast

Positions to the last row of the datasource.

MoveNext

Positions to the next row of the datasource.

MovePrevious

Positions to the previous row of the datasource.

MoveRelative

Overloaded. Moves the current row positions of the grid by the given offset.

PointAt

Overloaded. Returns one of the PointAtEnum enumerations, which indicates the kind of grid element beneath the specified coordinate.

Rebind

Overloaded. Reinitializes grid with data from its data source.

RefetchRow

Overloaded. Retreives data from the datasource for the current row and refreshes the row.

Refresh

Overridden. Clears any cached styles and forces the grid to repaint.

RefreshCol

Overloaded. Invalidates the current column.

RefreshRow

Overloaded. Invalidates the current row.

RemoveHorizontalSplit

Removes all the horizontal splits at the given index.

RemoveVerticalSplit

Removes all vertical splits at the given index.

ResumeBinding

Resumes IBindingList.ListChange notifications from the data source to the grid.

RowBookmark

Returns the row index of the DataSource for a display row index.

RowContaining

Returns the zero-based index of the display row containing the Y specified coordinate.

RowExpanded

Obtains the expanded state of a band for a hierarchical grid.

RowTop

Returns the Y coordinate of the top of a visible row.

SaveLayout

Overloaded. Saves the grid's layout.

ScrollGrid

Scrolls the grid data area by the specified number of rows and columns.

SplitContaining

Returns the SplitIndex of the split containing the specified coordinate.

SuspendBinding

Instructs the grid to temporarily ignore IBindingList.ListChange notifications from the data source.

UpdateData

Updates any changes on the current row to the data source.

SetDataBinding

Binds the grid at run time. Binds the grid at run time.

Protected Methods

Dispose

Overloaded. Overridden. Called when the class is being disposed.

On_AddNew

Overridden. Raises the OnAddNew event.

On_Init

Overridden. Raises the OnInit event.

On_Scroll

Overridden. Raises the Scroll event.

OnAfterColEdit

Overridden. Raises the AfterColEdit event.

OnAfterColUpdate

Overridden. Raises the AfterColUpdate event.

OnAfterDelete

Overridden. Raises the AfterDelete event.

OnAfterFilter

Overridden. Raises the AfterFilter event.

OnAfterInsert

Overridden. Raises the AfterInsert event.

OnAfterSort

Overridden. Raises the AfterSort event.

OnAfterUpdate

Overridden. Raises the AfterUpdate event.

OnBeforeClose

Overridden. Raises the BeforeClose event.

OnBeforeColEdit

Overridden. Raises the BeforeColEdit event.

OnBeforeColUpdate

Overridden. Raises the BeforeColUpdate event.

OnBeforeDelete

Overridden. Raises the BeforeDelete event.

OnBeforeInsert

Overridden. Raises the BeforeInsert event.

OnBeforeOpen

Overridden. Raises the BeforeOpen event.

OnBeforeRowColChange

Overridden. Raises the BeforeRowColChange event.

OnBeforeUpdate

Overridden. Raises the BeforeUpdate event.

OnButtonClick

Overridden. Raises the ButtonClick event.

OnChange

Overridden. Raises the Change event.

OnColEdit

Overridden. Raises the ColEdit event.

OnCollapse

Overridden. Raises the Collapse event.

OnColMove

Overridden. Raises the ColMove event.

OnColResize

Overridden. Raises the ColResize event.

OnComboSelect

Overridden. Raises the ComboSelect event.

OnDataSourceChanged

Overridden. Raises the DataSourceChanged event.

OnError

Overridden. Raises the Error event

OnExpand

Overridden. Raises the Expand event.

OnFetchCellStyle

Overridden. Raises the FetchCellStyle event.

OnFetchCellTips

Overridden. Raises the FetchCellTips event.

OnFetchGroupCellStyle

Overridden. Raises the FetchGroupCellStyle event.

OnFetchRowStyle

Overridden. Raises the FetchRowStyle event.

OnFetchScrollTips

Overridden. Raises the FetchScrollTips event.

OnFilter

Overridden. Raises the Filter event.

OnFilterButtonClick

Overridden. Raises the FilterButtonClick event.

OnFilterChange

Overridden. Raises the FilterChange event.

OnFirstRowChange

Overridden. Raises the FirstRowChange event.

OnFootClick

Overridden. Raises the FootClick event.

OnFormatText

Overridden. Raises the FormatText event.

OnGroupAggregate

Overridden. Raises the GroupAggregate event.

OnGroupColMove

Overridden. Raises the GroupColMove event.

OnGroupHeadClick

Overridden. Raises the GroupHeadClick event.

OnGroupInterval

Overridden. Raises the GroupInterval event.

OnGroupText

Overridden. Raises the GroupText event.

OnHeadClick

Overridden. Raises the HeadClick event.

OnLeftColChange

Overridden. Raises the LeftColChange event.

OnOwnerDrawCell

Overridden. Raises the OwnerDrawCell event.

OnOwnerDrawCellPrint

Overridden. Raises the OwnerDrawCellPrint event.

OnOwnerDrawPageFooter

Overridden. Raises the OwnerDrawPageFooter event.

OnOwnerDrawPageHeader

Overridden. Raises the OwnerDrawPageHeader event.

OnRowColChange

Overridden. Raises the RowColChange event.

OnRowResize

Overridden. Raises the RowResize event.

OnSelChange

Overridden. Raises the SelChange event.

OnSort

Overridden. Raises the Sort event.

OnSplitChange

Overridden. Raises the SplitChange event.

OnUnboundColumnFetch

Overridden. Raises the UnboundColumnFetch event.

OnUnboundColumnUpdated

Overridden. Raises the UnboundColumnUpdated event.

OnValueItemError

Overridden. Raises the ValueItemError event.

WndProc

Overridden. Processes Windows messages.

See Also

C1TrueDBGrid Class | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.