ASPxGridViewExportSettings.ExportSelectedRowsOnly Property
Specifies if only selected rows should be exported.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to ExportSelectedRowsOnly |
---|---|
ASPxGridView |
|
Remarks
Set the ExportSelectedRowsOnly
property to true
to export selected rows only.
<dx:ASPxGridView ID="grid" Crunat="server" DataSourceID="ProductsDataSource"
AutoGenerateColumns="false" KeyFieldName="ProductID" >
<SettingsExport ExportSelectedRowsOnly="true" />
<Columns>
<dx:GridViewCommandColumn ShowSelectCheckbox="true" />
<dx:GridViewDataTextColumn FieldName="ProductName" />
<dx:GridViewDataTextColumn FieldName="QuantityPerUnit" />
<dx:GridViewDataTextColumn FieldName="UnitPrice">
</Columns>
<%--...--%>
</dx:ASPxGridView>
See Also