Salvador
Salvador

Reputation: 16472

Example for DevExpress QuantumGrid Master-Detail

Where can I find a basic example of using QuantumGrid 6 of Developer Express in a Master-detail relation.

Thanks in advance.

Upvotes: 0

Views: 9341

Answers (3)

Fabio Pereira
Fabio Pereira

Reputation: 36

You need just add a level to your marter data and a sub-level to your detail data. After do that, select your detail level and set DataControler's properties to:

1- MasterKeyFieldNames to PK of master data; 2- DetailKeyFieldNames to FK of detail data.

If you want handle records you still need define KeyFieldNames with the PK to both levels.

To see a detailed explanation about how do it, open EXPRESSQUANTUMGRID6.HLP e search for "master-detail".

Upvotes: 0

johnny
johnny

Reputation: 657

Are you aware of the Master-Detail Tutorial in the help file?

You should find it in "$(DXVCL)\ExpressQuantumGrid 6\Help\EXPRESSQUANTUMGRID6.HLP" I guess.

Upvotes: 2

The DevExpress QuantumGrid page have a very complex and large collection of samples that you can use.
Visit the Knowledge Base section and search for your question.

it's sure that you find somethig usefull.

Regards.

Upvotes: 2

Related Questions