Cell Expansion

  • Last update:September 23, 2025
  • Overview

    Application Scenario

    If you drag a field from the dataset into a cell without setting cell expansion, all the data will be displayed in a single cell.

    1.1-1.jpg

    With the cell expansion setting, different data from a field can be displayed across multiple cells.

    1.1-2.jpg

    Function Description

    FineReport offers three options for expansion direction.

    • Vertical: The data in the cell expands vertically so that the data is displayed across multiple rows.

    • Horizontal: The data in the cell expands horizontally so that the data is displayed across multiple columns.

    • No Expansion: The data in the cell does not expand, and all data is displayed in a single cell.

    Example

    Data Preparation

    1. Create a dataset named ds1, and enter the SQL statement SELECT * FROM Sales_Volume in the database query dialog box to retrieve all data from the table Sales_Volume, as shown in the following figure. 

    2.1-1.jpg

    2. Drag the Salesperson field in ds1 to cell A1, center the content, and apply black borders with a yellow background to A1, as shown in the following figure. 

    2.1-2.jpg

    Vertical Expansion

    1. Select A1, choose Cell Attribute > Expansion > Expansion Direction on the right attribute panel. Since Expansion Direction of fields dragged from the dataset into a cell is set to Vertical by default, you can keep the default setting, as shown in the following figure. 

    2.2-1.jpg

    2. Click the dropdown caret in the icon, select Pagination Preview to view the effect of the vertically expanded cell in the browser, as shown in the following figure. 

    Horizontal Expansion

    1. Select A1, choose Cell Attribute > Expansion > Expansion Direction on the right attribute panel, and click the icon to set Expansion Direction to Horizontal, as shown in the following figure. 

    2.3-1.jpg

    2. Click the dropdown caret in the icon, select Pagination Preview to view the effect of the horizontally expanded cell in the browser, as shown in the following figure. 

    No Expansion

    1. Select A1, choose Cell Attribute > Expansion > Expansion Direction on the right attribute panel, and click the icon to set Expansion Direction to No Expansion, as shown in the following figure. 

    2.4-1.jpg

    2. Click the dropdown caret in the icon, select Pagination Preview to view the effect of the non-expanded cell in the browser, as shown in the following figure. 

    Attachment List


    Theme: Designer and Upgrade
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy