Free Trial Buy Now

Master-Detail - Detail Grid


Contact Name
Company Name
City
Country
[Collapse]Maria AndersAlfreds FutterkisteBerlinGermany
  Contact Phone: 030-0074321, Fax: 030-0076545

Order Id
Order Date
Ship Name
Unit Price
Quantity
Total
106439/25/1995Alfreds Futterkiste$45.6015$684.00
106439/25/1995Alfreds Futterkiste$18.0021$378.00
106439/25/1995Alfreds Futterkiste$12.002$24.00
1069211/3/1995Alfred's Futterkiste$43.9020$878.00
1070211/13/1995Alfred's Futterkiste$10.006$60.00
1070211/13/1995Alfred's Futterkiste$18.0015$270.00
108352/15/1996Alfred's Futterkiste$55.0015$825.00
108352/15/1996Alfred's Futterkiste$13.002$26.00
109524/15/1996Alfred's Futterkiste$25.0016$400.00
109524/15/1996Alfred's Futterkiste$45.602$91.20
    Sum=174Sum=$4,596.20
Page 1 of 2 (12 items)
Prev
1
2
Next
[Expand]Ana TrujilloAna Trujillo Emparedados y heladosMéxico D.F.Mexico
[Expand]Antonio MorenoAntonio Moreno TaqueríaMéxico D.F.Mexico
[Expand]Thomas HardyAround the HornLondonUK
[Expand]Christina BerglundBerglunds snabbköpLuleåSweden
[Expand]Hanna MoosBlauer See DelikatessenMannheimGermany
[Expand]Frédérique CiteauxBlondel père et filsStrasbourgFrance
[Expand]Martín SommerBólido Comidas preparadasMadridSpain
[Expand]Laurence LebihanBon app'MarseilleFrance
[Expand]Elizabeth LincolnBottom-Dollar MarketsTsawwassenCanada
Page 1 of 10 (91 items)
Prev
1
2
3
4
5
6
7
8
9
10
Next

Description

The ASPxGridView supports master-detail data presentation of any complexity.

This demo shows how to create a simple master-detail relationship between two tables. All you have to do is to:

  • Create two ASPxGridView controls
  • Bind the first grid (master grid) to the master data source and enable its SettingsDetail.ShowDetailRow option.
  • Bind the second grid (detail grid) to the detail data source.
  • Create the DetailRow template for the master grid and place the detail grid onto it.
  • Finally handle the detail grid's BeforePerformDataSelect event and specify session values.

By default, end-users can expand several master rows simultaneously. This behavior is controlled by the SettingsDetail.AllowOnlyOneMasterRowExpanded option. In this demo, this option is enabled via the Keep a single expanded row at a time box. Once enabled, only one detail row can be displayed at a time.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.