Pivot object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {5C9DF3D3-81B1-42C4-BED6-658F17748686}. The object's program identifier is: "Exontrol.Pivot". The /COM object module is: "ExPivot.dll"

The Exontrol's eXPivot tool is our approach to provide data summarization, as a pivot table. A pivot-table can automatically sort, count, total or give the average of the data stored in one table or spreadsheet. The user sets up and changes the summary's structure by dragging and dropping fields graphically. 

The control can load data using one of the following methods:

The AppendData method appends data to the control (prevents clearing data already loaded).

The following properties may be used to group and summarize the data, once it is loaded:

The Pivot object supports the following properties and methods:

NameDescription
AggregatesRetrieves the Aggregates collection of the pivot control.
AllowDropGets or sets a value indicating whether the control can be used as the target of a drag-and-drop operation.
AllowSelectNothingSpecifies whether the current selection is erased, once the user clicks outside of the items section.
AnchorFromPointRetrieves the identifier of the anchor from point.
AppearanceRetrieves or sets the control's appearance.
AppendDataAppends data to the control (prevents clearing data already loaded).
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
AutoDragGets or sets a value that indicates the way the component supports the AutoDrag feature.
BackColorSpecifies the control's background color.
BackColorAlternateSpecifies the background color used to display alternate items in the control.
BackColorHeaderSpecifies the header's background color.
BackgroundReturns or sets a value that indicates the background color for parts in the control.
BeginUpdateMaintains performance when items are added to the control one at a time. This method prevents the control from painting until the EndUpdate method is called.
BorderHeightSets or retrieves a value that indicates the border height of the control.
BorderWidthSets or retrieves a value that indicates the border width of the control.
CheckImageRetrieves or sets a value that indicates the image used by cells of checkbox type.
ClearDataRemoves the control's data.
ClearFilterClears the filter.
CollapseAllCollapses all rows.
ColumnAutoResizeReturns or sets a value indicating whether the control will automatically size its visible columns to fit on the control's client width.
ColumnFromPointRetrieves the column from the point.
CopyCopies the control's content to the clipboard, in the EMF format.
CopyToExports the control's view to an EMF file.
DataColumnFromPointRetrieves the index of the data column from the point.
DataColumnsRetrieves the Data Columns collection of the pivot control.
DataSourceRetrieves or sets a value that indicates the data source for object.
DefaultColumnWidthRetrieves or sets a value that indicates the default column width.
DefaultItemHeightRetrieves or sets a value that indicates the default item height.
DescriptionChanges descriptions for control objects.
DisplayFilterListSpecifies what the column's filter displays.
DisplayPivotDataRetrieves or sets the maximum number of rows to be displayed on the control's list.
DisplayPivotFieldsRetrieves or sets the maximum number of columns to be displayed on the control's list.
DisplayPivotRowsRetrieves or sets the maximum number of rows to be generated on the control's list.
DrawGridLinesRetrieves or sets a value that indicates whether the grid lines are visible or hidden.
EnabledEnables or disables the control.
EndUpdateResumes painting the control after painting is suspended by the BeginUpdate method.
EventParamRetrieves or sets a value that indicates the current's event parameter.
ExecuteTemplateExecutes a template and returns the result.
ExpandAllExpands all rows.
ExpandOnDblClickSpecifies whether the item is expanded or collapsed if the user dbl clicks the item.
ExportExports the control's data to a CSV format.
FilterBarBackColorSpecifies the background color of the control's filter bar.
FilterBarCaptionSpecifies the filter bar's caption.
FilterBarFontRetrieves or sets the font for control's filter bar.
FilterBarForeColorSpecifies the foreground color of the control's filter bar.
FilterBarHeightSpecifies the height of the control's filter bar. If the value is less than 0, the filterbar is automatically resized to fit its description.
FilterBarPromptSpecifies the caption to be displayed when the filter pattern is missing.
FilterBarPromptColumnsSpecifies the list of columns to be used when filtering using the prompt.
FilterBarPromptPatternSpecifies the pattern for the filter prompt.
FilterBarPromptTypeSpecifies the type of the filter prompt.
FilterBarPromptVisibleShows or hides the filter prompt.
FilterCriteriaRetrieves or sets the filter criteria.
FilterIncludeSpecifies the items being included after the user applies the filter.
FontRetrieves or sets the control's font.
ForeColorSpecifies the control's foreground color.
ForeColorHeaderSpecifies the header's foreground color.
FormatABCFormats the A,B,C values based on the giving expression and returns the result.
FormatAnchorSpecifies the visual effect for anchor elements in HTML captions.
FormatAppearancesRetrieves the FormatAppearances collection of the pivot control.
FormatConditionalAppearancesRetrieves the FormatConditionalAppearances collection of the pivot control.
FormatContentsRetrieves the FormatContents collection of the pivot control.
FormatPivotAggregateSpecifies the format to display an aggregate function.
FormatPivotHeaderSpecifies the format to display the columns in the pivot bar.
FormatPivotTotalSpecifies the format to display an aggregate/total functions.
GetHeadersGets a safe array of all generated columns/headers.
GetItemsGets a safe array of all generated items/values.
GridLineColorSpecifies the grid line color.
GridLineStyleSpecifies the style for gridlines in the list part of the control.
HasLinesEnhances the graphic representation of a grid control's hierarchy by drawing lines that link child items to their corresponding parent item.
HeaderAppearanceRetrieves or sets a value that indicates the header's appearance.
HeaderHeightRetrieves or sets a value indicating the control's header height.
HeaderVisibleRetrieves or sets a value that indicates whether the the grid's header is visible or hidden.
HTMLPictureAdds or replaces a picture in HTML captions.
hWndRetrieves the control's window handle.
ImagesSets at runtime the control's image list. The Handle should be a handle to an Images List Control.
ImageSizeRetrieves or sets the size of icons the control displays.
ImportImports the control's data from a CSV format.
IncludeExpandColumnSpecifies whether the column itself is displayed in the list (header/chart), while it expanded ( the column contains child columns ).
IndentRetrieves or sets the amount, in pixels, that child items are indented relative to their parent items.
LayoutSaves or loads the control's layout, such as positions of the columns, scroll position, filtering values.
LinesAtRootLink items at the root of the hierarchy.
LoadHeadersOnlyLoads the headers only, so no data is loaded.
LoadXMLLoads an XML document from the specified location, using MSXML parser.
LockRowsColumnRetrieves or sets a value that indicates whether the rows column in the list is locked or scrollable.
LockTotalRowsRetrieves or sets a value that indicates whether the total rows in the list are locked or scrollable.
OnFilterChangeSpecifies the action that the control performs once the user changes the filter at runtime.
PaneHeightSpecifies the height for the top or bottom panel.
PaneMinHeightSpecifies the minimum height for the top or bottom panel.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
PivotBarVisibleSpecifies how the control displays its pivot bar.
PivotColumnsSpecifies the list of columns to be displayed in the list.
PivotColumnsFloatBarVisibleRetrieves or sets a value that indicates whether the pivot columns float bar is visible or hidden.
PivotColumnsSortOrderSpecifies the sorting order for the columns being shown in the control's columns floating panel.
PivotRowsSpecifies the list of group-by columns that determines the rows in the list.
PivotTotalDefaultFormatAppearancesSpecifies the list of format-appearances ( key of FormatAppearance object), separated by comma, to be applied on the Total field when it is displayed in the pivot-table.
PivotTotalDefaultFormatContentSpecifies the default format (key of FormatContent object) to be applied on the Total field when it is displayed in the pivot-table.
PivotTotalsIndicates the list of totals/subtotals to be shown in the list.
RadioImageRetrieves or sets a value that indicates the image used by cells of radio type.
RefreshRefreses the control.
ReplaceIconAdds a new icon, replaces an icon or clears the control's image list.
ResetResets the control's layouts, so no filtering, sorting, ... is applied to the view.
SaveXMLSaves the control's content as XML document to the specified location, using the MSXML parser.
SelBackColorRetrieves or sets a value that indicates the selection background color.
SelBackModeRetrieves or sets a value that indicates whether the selection is transparent or opaque.
SelectableAggregateRowsSpecifies whether the aggregate rows are selectable or un-selectable.
SelectAllSelects all rows.
SelectOnReleaseIndicates whether the selection occurs when the user releases the mouse button.
SelForeColorRetrieves or sets a value that indicates the selection foreground color.
ShowBranchRowsIndicates how the branch rows displays the information ( divider items ).
ShowDataOnDblClickSpecifies whether the user shows the original data that generated the result when user double clicks a cell.
ShowImageListSpecifies whether the control's image list window is visible or hidden.
ShowToolTipShows the specified tooltip at given position.
ShowViewCompactIndicates whether the view compacts the data being displayed.
SingleSelRetrieves or sets a value that indicates whether the control supports single or multiple selection.
StatisticsGives statistics data of objects being hold by the control.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
UnselectAllUnselects all rows.
UseVisualThemeSpecifies whether the control uses the current visual theme to display certain UI parts.
ValueFromPointRetrieves the value from the point.
VersionRetrieves the control's version.
VisualAppearanceRetrieves the control's appearance.
VisualDesignInvokes the control's VisualAppearance designer.