[]
        
(Showing Draft Content)

C1.Win.FlexPivot.C1FlexPivotGrid

C1FlexPivotGrid Class

Represents a custom grid control for visualizing FlexPivot data.

Inheritance
C1FlexPivotGrid
Namespace: C1.Win.FlexPivot
Assembly: C1.Win.FlexPivot.8.dll
Syntax
[ToolboxBitmap(typeof(C1FlexPivotGrid), "C1FlexPivotGrid.png")]
public class C1FlexPivotGrid : C1FlexGrid

Constructors

Name Description
C1FlexPivotGrid()

Initializes a new instance of a C1FlexPivotGrid.

Properties

Name Description
AllowAddNew

Overridden to modify the default value and attributes.

AllowDelete

Overridden to modify the default value and attributes.

AllowDragging

Overridden to modify the default value and attributes.

AllowEditing

Overridden to modify the default value and attributes.

AllowFreezing

Overridden to modify the default value and attributes.

AllowMergingFixed

Overridden to modify the default value and attributes.

AllowSorting

Gets or sets whether the grid can be sorted by clicking the column headers.

AutoClipboard

Overridden to modify the default value and attributes.

AutoResize

Overridden to modify the default value and attributes.

AutoSearch

Overridden to modify the default value and attributes.

ClipboardCopyMode

Overridden to modify the default value and attributes.

CollapsibleSubtotals

Gets or sets a value that determines whether the grid should allow users to collapse and expand subtotal groups.

DataMember

Gets or sets the specific list in a DataSource object that should be analyzed.

DataSource

Gets or sets the C1FlexPivotPanel that provides data for this grid.

EditOptions

Overridden to modify the default value and attributes.

GridContextMenu

References the context menu for FlexPivotGrid.

ShowDetailOnRightClick

Gets or sets a value that determines whether the grid should show a popup containing the detail records when the user right-clicks a cell.

SubtotalBackground

Gets or sets the color used to paint the background of cells that contain totals.

SubtotalForeground

Gets or sets the color used to paint the foreground of cells that contain totals.

Methods

Name Description
CollapseAllCols()

Collapse all the columns of subtotal groups.

CollapseAllRows()

Collapse all the rows of subtotal groups.

Dispose(bool)

Overriden to unsubscribe from FlexPivotPanel events.

EndInit()

Overridden to create custom styles for subtotals.

ExpandAllCols()

Expand all the columns of subtotal groups.

ExpandAllRows()

Expand all the rows of subtotal groups.

GetDetail(int, int)

Gets a DataTable containing the raw records represented by an FlexPivot cell.

OnAfterResizeColumn(RowColEventArgs)

Overridden to resize all data columns uniformly.

OnAfterSort(SortColEventArgs)

Overridden to update row and column headers after sorting.

OnBeforeSort(SortColEventArgs)

Overridden to provide three-state sorting (up, down, none).

OnDataRefresh(ListChangedEventArgs)

Overridden to update headers when the grid is sorted.

OnFontChanged(EventArgs)

Overriden to update Total cells style.

OnMouseDown(MouseEventArgs)

Overridden to show cell details when the user right-clicks a cell and to collapse/expand subtotal rows/columns.

OnOwnerDrawCell(OwnerDrawCellEventArgs)

Overridden to apply conditional formatting.

OnShowDetails(RowColEventArgs)

Raises the ShowDetails event.

Events

Name Description
ShowDetails

Fires on Show Details... click in context menu.