VerticalGridCommandRow.ShowNewButtonInHeader Property
Specifies the visibility of the New command button in the command row header.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
Follow the steps below to allow the grid to display the New command button in the command row header:
- Set the Mode property to
Batch
. - Enable the
ShowNewButtonInHeader
property.
<dx:ASPxVerticalGrid ID="VerticalGrid" runat="server" KeyFieldName="ProductID" ...>
<Rows>
<dx:VerticalGridCommandRow ShowNewButtonInHeader="true" />
<!-- ... -->
</Rows>
<SettingsEditing Mode="Batch" />
</dx:ASPxVerticalGrid>
To specify the button settings, use the NewButton property.
See Also