Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewExportSettings.SplitDataCellAcrossPages Property

Gets or sets whether data cells are allowed to be split across pages when exporting.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean **false**

true, if data cells are allowed to be split across pages when exporting; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SplitDataCellAcrossPages
ASP.NET Controls and MVC Extensions ASPxGridView
.SettingsExport .SplitDataCellAcrossPages
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsExport .SplitDataCellAcrossPages
ASP.NET MVC Extensions MVCxGridView
.SettingsExport .SplitDataCellAcrossPages

Remarks

Use the SplitDataCellAcrossPages property to specify whether the tree list should split data cells when exporting.

<dx:ASPxGridView ID="Grid" runat="server" DataSourceID="HomesDataSource" Width="100%" OnExportRenderBrick="grid_RenderBrick">
    ...
    <SettingsExport SplitDataCellAcrossPages="true" EnableClientSideExportAPI="true" ExcelExportMode="WYSIWYG" />
</dx:ASPxGridView>

The images below illustrate how the exported tree list data is displayed when the SplitDataCellAcrossPages property is enabled or disabled.

SplitDataCellAcrossPages=true SplitDataCellAcrossPages=false
ASPxGridView-Export-SplitCells-true ASPxGridView-Export-SplitCells-false
See Also