Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 11:58

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 25 Mar 2018, 14:55 
Offline

Joined: 25 Mar 2018, 14:34
Posts: 11
Hello, i'm new to the forum and i need to learn how to use EHLibComponent.
In particular i need to develope an apllication wih a TDBGridEH component with a datasource that have more details.
For example a grid with Clients table datasource, with the Order Detail ( but not in the same query as join !) and another nested detail with the extra informations for each Order.
In other words, if i click on the Client row expand the Order Detail and if i click on the Order row it expands the Extra information of the Order ... etc.
How can i do thid in the same TDBGridEH ?
Can someone give me an example to do this ?

Thank you very much at all !!
Alberto


Top
 Profile  
 
PostPosted: 22 Apr 2018, 19:59 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello Alberto

1.
You should configure Master/Detail for the relationship between your DataSets.
The configuration depends on the type of your dataset and does not depend on the grid.

2. You should activate RowDetailPanel in the grid.
Read "Panel of detail information for record – RowDetailPanel." section in the "EhLib Users Guide.doc" file.

3. You should put new grid in the RowDetailPanel and bind it the Detail DataSet.

_________________
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: No registered users and 55 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