VerticalGridCommandRow.ShowNewButton Property
Specifies the visibility of the New command button in the command row.
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:
- Set the Mode property to
Batch
. - Enable the
ShowNewButton
property.
<dx:ASPxVerticalGrid ID="VerticalGrid" runat="server" KeyFieldName="ProductID" ...>
<Rows>
<dx:VerticalGridCommandRow ShowNewButton="true" />
<!-- ... -->
</Rows>
<SettingsEditing Mode="Batch" />
</dx:ASPxVerticalGrid>
To specify the button settings, use the NewButton property.
See Also