Skip to main content

igPivotDataSelector

Namespace: Wisej.Web.Ext.Ignite

Assembly: Wisej.Web.Ext.Ignite (4.1.0.0)

The igPivotDataSelector is a jQuery UI widget that enables users to select data slices, typically, when data is being visualized in an igPivotGrid.

public class igPivotDataSelector : igBase

Constructors​

Instance member igPivotDataSelector()​

Constructs a new instance of the igPivotDataSelector class.

Example:

The following example creates a data selector and connects it to an OLAP cube through the Options object.

var selector = new igPivotDataSelector();
selector.Options.dataSourceOptions = new
{
xmlaOptions = new
{
serverUrl = "https://myserver/olap/msmdpump.dll",
catalog = "Adventure Works DW Standard Edition",
cube = "Adventure Works"
}
};
selector.Dock = DockStyle.Left;
this.Controls.Add(selector);

Instance member igPivotDataSelector(options)​

Constructs a new instance of the igPivotDataSelector class using the specified options.

NameTypeDescription
optionsObjectInitial set of options passed to the igPivotDataSelector widget: an anonymous object, a JSON string or a dynamic object.

Example:

The following example creates a data selector connected to an OLAP cube with an initial selection of rows, columns and measures.

var selector = new igPivotDataSelector(new
{
dataSourceOptions = new
{
xmlaOptions = new
{
serverUrl = "https://myserver/olap/msmdpump.dll",
catalog = "Adventure Works DW Standard Edition",
cube = "Adventure Works"
},
rows = "[Date].[Calendar]",
columns = "[Product].[Product Categories]",
measures = "[Measures].[Internet Sales Amount]"
}
});
selector.Dock = DockStyle.Left;
this.Controls.Add(selector);

Implements​