Master-detail

GridControl

Pick a row and see what belongs to it, beside it or right under it.

Overview

Master-detail views let users pick a row in a Blazor GridControl and see what belongs to it, such as a country's airports. Use them for orders and their lines or customers and their contacts: filter a second grid from RowSelected, or open a DetailTemplate under the row with any markup, another grid included. AutoSelectFirstRow fills the detail as soon as the page opens.

Examples

#Countries and their airports

Click a country on the left, or search for one (try Portugal), and the right grid shows its airports; both grids sort on their own.

Countries

Country ISO Airports
United StatesUS634
ChinaCN261
CanadaCA252
AustraliaAU155
RussiaRU148
BrazilBR129
IndonesiaID121
IndiaIN116
JapanJP83
MexicoMX63
United KingdomGB53
TurkeyTR51
ColombiaCO50
FranceFR49
NorwayNO46
ArgentinaAR45
IranIR45
PhilippinesPH44
SpainES43
ItalyIT41
GreeceGR39
French PolynesiaPF38
GermanyDE38
SwedenSE38
Papua New GuineaPG37
MalaysiaMY34
ThailandTH33
AlgeriaDZ31
Saudi ArabiaSA29
New ZealandNZ28
PeruPE25
EthiopiaET24
KazakhstanKZ24
NigeriaNG24
MyanmarMM23
PakistanPK23
BahamasBS22
South AfricaZA22
VenezuelaVE22
VietnamVN22
Democratic Republic of the CongoCD20
FinlandFI20
Solomon IslandsSB20
ChileCL19
NepalNP19
PortugalPT19
EgyptEG17
FijiFJ17
MoroccoMA17
VanuatuVU17
BoliviaBO16
MadagascarMG16
Marshall IslandsMH16
RomaniaRO16
TanzaniaTZ16
CubaCU15
EcuadorEC15
MaldivesMV15
PolandPL15
South KoreaKR15
AngolaAO14
GreenlandGL13
MongoliaMN13
TaiwanTW13
UzbekistanUZ13
BelizeBZ12
KenyaKE12
MozambiqueMZ12
PanamaPA12
DenmarkDK11
New CaledoniaNC11
IrelandIE10
Costa RicaCR9
IcelandIS9
NamibiaNA9
BangladeshBD8
CroatiaHR8
Dominican RepublicDO8
HondurasHN8
Puerto RicoPR8
United Arab EmiratesAE8
Cape VerdeCV7
LaosLA7
LibyaLY7
SomaliaSO7
Sri LankaLK7
SudanSD7
TunisiaTN7
YemenYE7
AfghanistanAF6
AustriaAT6
AzerbaijanAZ6
Cook IslandsCK6
Czech RepublicCZ6
GabonGA6
GuatemalaGT6
IraqIQ6
SurinameSR6
TurkmenistanTM6
UgandaUG6
ZambiaZM6
BelgiumBE5
BotswanaBW5
CambodiaKH5
CameroonCM5
Equatorial GuineaGQ5
EstoniaEE5
GhanaGH5
GuadeloupeGP5
MaliML5
NetherlandsNL5
OmanOM5
Saint Vincent and the GrenadinesVC5
SwitzerlandCH5
TongaTO5
Turks and Caicos IslandsTC5
BelarusBY4
Bosnia and HerzegovinaBA4
BulgariaBG4
Côte d'IvoireCI4
GeorgiaGE4
GuyanaGY4
HaitiHT4
HungaryHU4
JamaicaJM4
KiribatiKI4
KyrgyzstanKG4
MicronesiaFM4
NicaraguaNI4
North KoreaKP4
SlovakiaSK4
SyriaSY4
TajikistanTJ4
Timor-LesteTL4
ZimbabweZW4
American SamoaAS3
BhutanBT3
BurundiBI3
Caribbean NetherlandsBQ3
CyprusCY3
French GuianaGF3
IsraelIL3
JordanJO3
LithuaniaLT3
MauritaniaMR3
Northern Mariana IslandsMP3
ParaguayPY3
SenegalSN3
SerbiaRS3
South SudanSS3
UruguayUY3
Western Sahara (disputed territory)EH3
Antigua and BarbudaAG2
ArmeniaAM2
British Virgin IslandsVG2
Burkina FasoBF2
Cayman IslandsKY2
ComorosKM2
DominicaDM2
El SalvadorSV2
Falkland IslandsFK2
GrenadaGD2
GuernseyGG2
LiberiaLR2
MalawiMW2
MauritiusMU2
MontenegroME2
NigerNE2
North MacedoniaMK2
QatarQA2
Republic of the CongoCG2
RéunionRE2
RwandaRW2
Saint Helena, Ascension and Tristan da CunhaSH2
Saint Kitts and NevisKN2
Saint LuciaLC2
Saint Pierre and MiquelonPM2
São Tomé and PrincipeST2
SeychellesSC2
SingaporeSG2

Airports in United States

Code Airport City Type Runways
ABELehigh Valley International AirportAllentown/BethlehemMedium2
ABIAbilene Regional AirportAbileneMedium3
ABLAmbler AirportAmblerMedium2
ABQAlbuquerque International SunportAlbuquerqueLarge3
ABRAberdeen Regional AirportAberdeenMedium2
ABYSouthwest Georgia Regional AirportAlbanyMedium2
ACKNantucket Memorial AirportNantucketMedium2
ACTWaco Regional AirportWacoMedium2
ACVCalifornia Redwood Coast-Humboldt County AirportArcata/EurekaMedium2
ACYAtlantic City International AirportAtlantic CityMedium2
ADKAdak AirportAdakMedium1
ADQKodiak AirportKodiakMedium3
AETAllakaket AirportAllakaketSmall1
AEXAlexandria International AirportAlexandriaMedium2
AGSAugusta Regional At Bush FieldAugustaMedium2
AIAAlliance Municipal AirportAllianceMedium3
AINWainwright AirportWainwrightMedium1
AKBAtka AirportAtkaSmall1
AKIAkiak AirportAkiakSmall1
AKKAkhiok AirportAkhiokSmall1
AKNKing Salmon AirportKing SalmonMedium3
AKPAnaktuvuk Pass AirportAnaktuvuk PassMedium1
ALBAlbany International AirportAlbanyLarge2
ALOWaterloo Regional AirportWaterlooMedium2
ALSSan Luis Valley Regional Airport/Bergman FieldAlamosaMedium1
ALWWalla Walla Regional AirportWalla WallaMedium1
AMARick Husband Amarillo International AirportAmarilloMedium2
ANCTed Stevens Anchorage International AirportAnchorageLarge3
ANIAniak AirportAniakMedium1
ANVAnvik AirportAnvikMedium1
AOOAltoona Blair County AirportAltoonaMedium2
APNAlpena County Regional AirportAlpenaMedium2
ARCArctic Village AirportArctic VillageMedium1
ARTWatertown International AirportWatertownMedium2
ASEAspen-Pitkin County Airport (Sardy Field)AspenMedium1
ATKAtqasuk Edward Burnell Sr Memorial AirportAtqasukMedium1
ATLHartsfield Jackson Atlanta International AirportAtlantaLarge5
ATTAtmautluak AirportAtmautluakSmall1
ATWAppleton International AirportAppletonMedium2
ATYWatertown Regional AirportWatertownMedium2
AUGAugusta State AirportAugustaMedium2
AUKAlakanuk AirportAlakanukSmall1
AUSAustin Bergstrom International AirportAustinLarge2
AVLAsheville Regional AirportAshevilleMedium1
AVPWilkes-Barre/Scranton International AirportWilkes-Barre/ScrantonMedium2
AZAMesa Gateway AirportMesaMedium3
AZOKalamazoo/Battle Creek International AirportKalamazooMedium3
BDLBradley International AirportHartfordLarge2
BEDLaurence G Hanscom FieldBedfordMedium2
BETBethel AirportBethelMedium3
BFDBradford Regional AirportBradfordMedium2
BFFWestern Neb. Rgnl/William B. Heilig AirportScottsbluffMedium2
BFIKing County International Airport - Boeing FieldSeattleMedium2
BFLMeadows FieldBakersfieldMedium2
BGMGreater Binghamton/Edwin A Link fieldBinghamtonMedium2
BGRBangor International AirportBangorMedium1
BHBHancock County-Bar Harbor AirportBar HarborMedium2
BHMBirmingham-Shuttlesworth International AirportBirminghamLarge2
BIDBlock Island State AirportBlock IslandSmall1
BIHEastern Sierra Regional AirportBishopMedium3
BILBillings Logan International AirportBillingsMedium3
BISBismarck Municipal AirportBismarckMedium2
BJCRocky Mountain Metropolitan AirportDenverMedium3
BKCBuckland AirportBucklandSmall1
BKGBranson AirportBransonMedium1
BKWRaleigh County Memorial AirportBeaverMedium2
BLDBoulder City Municipal AirportBoulder CityMedium2
BLIBellingham International AirportBellinghamMedium1
BLVScott AFB/Midamerica AirportBellevilleMedium2
BMICentral Illinois Regional Airport at Bloomington-NormalBloomington/NormalMedium2
BNANashville International AirportNashvilleLarge4
BOIBoise Air Terminal/Gowen FieldBoiseLarge2
BOSBoston Logan International AirportBostonLarge6
BPTJack Brooks Regional AirportBeaumont/Port ArthurMedium2
BQKBrunswick Golden Isles AirportBrunswickMedium1
BRDBrainerd Lakes Regional AirportBrainerdMedium3
BRLSoutheast Iowa Regional AirportBurlingtonMedium2
BROBrownsville South Padre Island International AirportBrownsvilleMedium2
BRWWiley Post Will Rogers Memorial AirportUtqiaġvikMedium1
BTIBarter Island Long Range Radar Station AirportBarter IslandMedium1
BTMBert Mooney AirportButteMedium2
BTRBaton Rouge Metropolitan AirportBaton RougeMedium2
BTTBettles AirportBettlesSmall1
BTVPatrick Leahy Burlington International AirportBurlingtonMedium2
BUFBuffalo Niagara International AirportBuffaloLarge2
BURHollywood Burbank/Bob Hope AirportBurbankLarge2
BWIBaltimore/Washington International Thurgood Marshall AirportBaltimoreLarge3
BYWBlakely Island AirportBlakely IslandSmall1
BZNBozeman Yellowstone International AirportBozemanMedium4
CAEColumbia Metropolitan AirportColumbiaMedium2
CAKAkron Canton Regional AirportAkronMedium2
CCRBuchanan FieldConcordMedium4
CDBCold Bay AirportCold BayMedium2
CDCCedar City Regional AirportCedar CityMedium2
CDRChadron Municipal AirportChadronMedium2
CDVMerle K (Mudhole) Smith AirportCordovaMedium2
CECJack Mc Namara Field AirportCrescent CityMedium2
CEMCentral AirportCentralSmall1
CEZCortez Municipal AirportCortezMedium1
CGICape Girardeau Regional AirportCape GirardeauMedium2
CHAChattanooga Metropolitan Airport (Lovell Field)ChattanoogaMedium2
CHOCharlottesville Albemarle AirportCharlottesvilleMedium1
CHSCharleston International AirportCharlestonLarge2
CHUChuathbaluk AirportChuathbalukSmall1
CIDThe Eastern Iowa AirportCedar RapidsMedium2
CIKChalkyitsik AirportChalkyitsikSmall1
CIUChippewa County International AirportKincheloeMedium2
CKBNorth Central West Virginia AirportBridgeportMedium1
CKDCrooked Creek AirportCrooked CreekSmall1
CKXChicken AirportChickenSmall1
CLDMcClellan-Palomar AirportCarlsbadMedium1
CLECleveland Hopkins International AirportClevelandLarge3
CLLEasterwood FieldCollege StationMedium2
CLPClarks Point AirportClarks PointSmall1
CLTCharlotte Douglas International AirportCharlotteLarge3
CMHJohn Glenn Columbus International AirportColumbusLarge2
CMIUniversity of Illinois Willard AirportSavoyMedium3
CMXHoughton County Memorial AirportHancockMedium2
CNMCavern City Air TerminalCarlsbadMedium4
CNYCanyonlands Regional AirportMoabMedium1
CODYellowstone Regional AirportCodyMedium1
COSCity of Colorado Springs Municipal AirportColorado SpringsLarge3
COUColumbia Regional AirportColumbiaMedium2
CPRCasper-Natrona County International AirportCasperMedium2
CRPCorpus Christi International AirportCorpus ChristiMedium2
CRWYeager AirportCharlestonMedium1
CSGColumbus AirportColumbusMedium2
CVGCincinnati Northern Kentucky International AirportCincinnati / CovingtonLarge4
CVNClovis Municipal AirportClovisMedium3
CWACentral Wisconsin AirportMosineeMedium2
CWSCenter Island AirportCenter IslandSmall1
CYFChefornak AirportChefornakSmall1
CYSCheyenne Regional Jerry Olson FieldCheyenneMedium2
CYTYakataga AirportYakatagaSmall1
DABDaytona Beach International AirportDaytona BeachMedium3
DALDallas Love FieldDallasLarge2
DAYJames M. Cox Dayton International AirportDaytonMedium3
DBQDubuque Regional AirportDubuqueMedium2
DCARonald Reagan Washington National AirportWashingtonLarge3
DDCDodge City Regional AirportDodge CityMedium2
DECDecatur AirportDecaturMedium3
DENDenver International AirportDenverLarge6
DFWDallas Fort Worth International AirportDallas-Fort WorthLarge7
DHNDothan Regional AirportDothanMedium2
DIKDickinson Theodore Roosevelt Regional AirportDickinsonMedium2
DJTPresident Donald J. Trump International AirportWest Palm BeachLarge3
DLGDillingham AirportDillinghamMedium1
DLHDuluth International AirportDuluthMedium2
DOVDover Civil Air Terminal/Dover Air Force BaseDoverMedium2
DRGDeering AirportDeeringMedium2
DRODurango La Plata County AirportDurangoMedium1
DSIDestin Executive AirportDestinMedium1
DSMDes Moines International AirportDes MoinesLarge2
DTRDecatur Shores AirportDecaturSmall1
DTWDetroit Metropolitan Wayne County AirportDetroitLarge6
DUJDuBois Regional AirportDuboisMedium1
DUTTom Madsen (Dutch Harbor) AirportUnalaskaMedium1
DVLDevils Lake Regional AirportDevils LakeMedium2
EAAEagle AirportEagleSmall1
EARKearney Regional AirportKearneyMedium2
EATPangborn Memorial AirportWenatcheeMedium1
EAUChippewa Valley Regional AirportEau ClaireMedium2
ECPNorthwest Florida Beaches International AirportPanama City BeachMedium1
EEKEek AirportEekSmall1
EGEEagle County Regional AirportEagleMedium1
EGXEgegik AirportEgegikMedium2
EKOElko Regional AirportElkoMedium2
ELDSouth Arkansas Regional Airport at Goodwin FieldEl DoradoMedium1
ELIElim AirportElimSmall1
ELMElmira Corning Regional AirportElmira/CorningMedium3
ELPEl Paso International AirportEl PasoLarge3
EMKEmmonak AirportEmmonakMedium1
ENAKenai Municipal AirportKenaiMedium3
ERIErie International Tom Ridge FieldErieMedium2
ESCDelta County AirportEscanabaMedium2
ESDOrcas Island AirportEastsoundMedium1
EUGEugene AirportEugeneMedium2
EVVEvansville Regional AirportEvansvilleMedium3
EWBNew Bedford Regional AirportNew BedfordMedium2
EWNCoastal Carolina Regional AirportNew BernMedium2
634 rows

634 airports in United States, 95 of them large.

#Products and their warehouse stock

Open the arrow on a product row to see its stock per warehouse, then receive or reserve stock in the detail and watch the product row recalculate. The stock grid has no Height, so this page adds .detail ::deep .fx-grid-content { flex: 0 0 auto; } to let it grow to its rows; without that rule or a Height, a grid in a detail row shrinks to its scrollbar.

SKU Product Category On hand Reserved Available Reorder at Valuation
PRD-1001Titanium Alloy Fastener Assortment (1,000 pk)Hardware57573502120$83,663
PRD-1002Ultra-Torque Brushless Cordless Drill 20VIndustrial Tools35712123680$81,753
PRD-1003Fiber Optic Backbone Transceiver Module 100GElectronics2615420750$99,180
PRD-1004Structural Grade Reinforcing Rebar #5 (60ft)Raw Materials51492422300$21,974
PRD-1005Industrial Smart Fall-Arrest Safety HarnessSafety Gear2797520460$51,615
PRD-1006Laser Distance Meter 200m with BluetoothIndustrial Tools4119331875$67,815
PRD-1007Cat6A Shielded Plenum Cable (1,000ft Spool)Electronics477107370100$102,555
PRD-1008Heavy-Duty Hydraulic Floor Jack 4-TonIndustrial Tools40812528340$126,480
PRD-1009Respirator Mask N95 Valved Case (240 pk)Safety Gear311109202150$34,988
PRD-1010Galvanized High-Tensile Steel Conduit 2inRaw Materials23480154250$6,763
PRD-1011Digital Multi-Meter CAT IV 1000V True-RMSElectronics43813130790$76,650
PRD-1012ANSI Class 3 High-Visibility Winter ParkaSafety Gear36910026970$45,756
PRD-1013Benchtop Drill Press 12-Speed 5/8in ChuckIndustrial Tools35612023645$88,996
PRD-1014Stainless Steel Hex Bolt Assortment M10 (50 pk)Hardware39493301180$35,263
PRD-1015Circuit Breaker 200A 3-Phase Industrial PanelElectronics2825722535$139,590
15 rows

15 products worth $1,063,040 on hand; no detail open.

Documentation

ParameterTypeDefaultDescription
AllowSelectionbooltrueFalse makes the grid cursor-only: clicks and keys still move the active cell, editing and the click events still work, but nothing is ever selected and no selection event fires.
AutoSelectFirstRowboolfalseSelects the first visible row when a selectable grid first receives rows, and again after a sort changes the order. Raises RowSelected but not RowSelecting. Skipped in Cell mode and with CheckboxOnly.
InitialSelectedRowIndexint?nullDisplayed-row index to select before the first paint, for pickers that already know their value. Applied again when the data source or the index changes.
HighlightSelectedRowsbooltrueFalse keeps the selection and its events but does not paint the selected rows.
SelectionSettingsRefSelectionSettings?nullThe settings object below. Null behaves as single row selection.
EventsRefGridControlEvents<TValue>?nullThe object that holds the callbacks; the grid has no separate parameters for the selection events.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.