MVCxGridViewDetailSettings.MasterGridName Property
Gets or sets the master GridView’s name.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
String | A string value specifying the master grid’s name (its SettingsBase.Name property value). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to MasterGridName |
---|---|
GridViewSettings |
|
MVCxGridView |
|
MVCxGridViewProperties |
|
Remarks
Use the MasterGridName property to specify the name of a master GridView, into which detail row template the current detail grid is placed. A template for detail rows is created via the master grid’s GridViewSettings.SetDetailRowTemplateContent method. The master grid’s SettingsDetail.ShowDetailRow (ASPxGridViewDetailSettings.ShowDetailRow) option should be enabled to display its detail rows.
To learn more, see our online demo: Grid View - Master-Detail