Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 18 Apr 2024, 19:46

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 24 Dec 2022, 16:10 
Offline

Joined: 04 Sep 2013, 06:10
Posts: 16
hello,
i searched in the sources but didn't find anything - is there a helper function that
creates a tpivotgrideh from a tdbgrideh instance?
if not what is the minimal way to fill a tpivotgrideh from a tdataset?

thank you


Top
 Profile  
 
PostPosted: 26 Dec 2022, 19:45 
Offline

Joined: 08 May 2014, 18:06
Posts: 663
Hello

TPivotDataSourceEh component for loading and storing of consolidated data for TPivotGridEh.
Before working with the TPivotGridEh component to display data, you need to set up and fill in the TPivotDataSourceEh component.
Put TPivotDataSourceEh on a Form and assign TPivotDataSourceEh.DataSet property by a DataSet from which the data will be taken.
At run-time call methods to

Code:
//create PivotDataSource structure from DataSet
PivotDataSourceEh1.PivotFields.RebuildPivotFields;

//to fill PivotDataSourceEh from DataSet
PivotDataSourceEh1.CreateAndFillSourceTable;


See also
https://www.ehlib.com/online-help/index.html
Section: Componenst for consolidated data analysis

and Demo project
<EhLib Archive>\Demos\PivotGridEh.SimpleDemo

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group