Search
English
Using RadarCube as a data source for Data-related components

TOLAPGrid as a component for displaying data, implements the IListSource interface and, hence, can be a data source for other components - data consumers such as Chart-components, export components and so on. TOLAPGrid can give the data "out" in different ways. It can be:

  • The whole cellset displayed in the Grid
  • Selected Grid area
  • A column or a row of the Grid the selected area is located in
  • Neighbor cells of the selected Grid area in columns or rows
  • No data

The behavior of the Grid as a data source is controlled by the TOLAPGrid.ListSourceMode property. By default, this property is set in ctmNone (which means the Grid doesn't operate as a data source).

If you assign another value to the ListSourceMode property, remember that it might slightly slow down the performance of the Grid, especially on big Cellsets.

When either Cellset or the selected cells are changed, the given out data is changed as well. If the components - the data consumers - are able to keep track of the changes (like the standard DataGridView component), then you don't need to do anything else.

As a rule, to reflect data changes in other components, it is enough to call their DataBind() method. Also the TOLAPGrid.OnSelectionChange event handler might be a good way to deal with the changed selection in the Grid.

Another way to get the Grid data is to call on the TOLAPGrid.GetOLAPData method.

Related links

Download Radar-Soft products


Buy Radar-Soft products


Visit our support site


Latest versions
Click to subscribe

 March 9, 2010

RadarCube WinForms Desktop 2.25.0

Changes...Download...

 

 March 9, 2010

RadarCube WinForms MSAS 2.25.0

Changes...Download...

 

 February 26, 2010

RadarCube VCL 1.16.0

Changes...Download...

 

 February 25, 2010

HierCube VCL 4.55.0

Changes...Download...

 

 February 17, 2010

RadarCube ASP.NET 2.35.0

Changes...Download...

 

 July 15, 2009

Essential Pack Pro for ASP.NET 1.11.0

Changes...Download...

 

 July 15, 2009

Essential Pack for ASP.NET 1.11.0

Changes...Download...

 

 November 5, 2008

WinForms Chart 1.00.1

Changes...Download...

 

Related articles
Click to subscribe

 September 30, 2009

RadarCube Request tracker

Details...

 

 August 24, 2009

Customizing the toolbox in Ria OLAP controls

Details...

 

 July 15, 2009

How to localize Essential Pack for ASP.NET

Details...

 

 June 29, 2009

Templating columns for Essential Pack Grid

Details...

 

 June 3, 2009

Customizing RadarCube for ASP.NET

Details...

 

 May 8, 2009

Hierarchy members' attributes

Details...
More articles...
Support | Download | Purchase | Partners | Upgrade and Discount Policy | Contacts © 2005-2009 Radar-Soft, L.L.C. All rights reserved.