Skip to main content
Tab

ASPxGridViewExporter.ExportSelectedRowsOnly Property

Specifies if only selected rows should be exported.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v25.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ExportSelectedRowsOnly { get; set; }

Property Value

Type Default Description
Boolean false

true to export the selected rows only; false to export all grid rows.

Remarks

Note

If you enable the ExportSelectedRowsOnly property, check whether the control displays a key column (its FieldName should match the control’s KeyFieldName). If such a column is visible, it must display the exact key values (not custom texts), or the column’s FilterMode must be set to Value (default). Otherwise, the control is unable to determine and export selected rows.

Run Demo: Export Selected Records

See Also