Skip to main content

ASPxTreeListPrintSettings.SplitDataCellAcrossPages Property

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

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.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 MVC Extensions MVCxTreeListSettingsExport
.PrintSettings .SplitDataCellAcrossPages
ASP.NET Web Forms Controls ASPxTreeListExporter
.Settings .SplitDataCellAcrossPages

#Remarks

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

<dx:ASPxTreeList ID="treeList" runat="server" Width="100%" AutoGenerateColumns="False" DataSourceID="HomesDataSource" KeyFieldName="ID" ParentFieldName="ParentID">
    <SettingsExport EnableClientSideExportAPI="True" SplitDataCellAcrossPages="true" />
    ...
</dx:ASPxTreeList>

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