MVCxGridViewDetailSettings.MasterGridName Property

Gets or sets the master GridView's name.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public string MasterGridName { get; set; }
Public Property MasterGridName As String

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
.SettingsDetail.MasterGridName
GridViewSettings<RowType>
.SettingsDetail.MasterGridName
MVCxGridView
.SettingsDetail.MasterGridName
MVCxGridViewProperties
.SettingsDetail.MasterGridName

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

See Also