Table of Contents

CubeGrid

CubeGrid Component represents a table that is filled with data from the cube. Simply saying it is the Visual representation of the cube.

Properties

Property Description
public Cube.Cube Cube Cube reference.
public CubeDataZone DataZone Data zone reference.

Methods

Method Description
public bool Export(ExportBase export) Cube export to one of the following formats: HTML, DBF, CSV, XML, Open Document Spreadsheet, Excel, Excel 2007. Returns success or failure.
public override string GetClipboardText() Returns a string representation of the selected data in grid.

CubeGrid setup

CubeGrid cubeGrid = new CubeGrid();
cubeGrid.Dock = DockStyle.Fill;
cubeGrid.Parent = this;
cubeGrid.Cube = cube;

The following example shows how to create CubeGrid from the application code. The newly created object should be placed on the form (the Parent property), and location (the Dock property). In addition, you must specify a cube from which data should be taken.