Skip to content

DataTable

The DataTable widget provides a tabular interface optimized for displaying large datasets. While it offers a limited data entry capability through row editors, its primary function is efficient data visualization. It is significantly more efficient than the TableContent widget for handling large amounts of data.

Key Features

  • High-performance data display for large datasets, outperforming TableContent.
  • Limited data entry functionality; primarily designed for data display.
  • Does not support row-level rules.
  • Table import/export functionality.

Data Model

The DataTable widget uses a sequence-type data model. Each row in the table is represented as a new element within this data model, containing the row's data.

Table Columns

Columns utilize data templates to display data in a specific format. Each column is defined with a data type, influencing how data is presented. Column headers and footers also support data templates for calculated values.

Unique Row IDs

To automatically generate unique IDs for each row, specify an XPath expression via the RowIdXPath property. This expression will be evaluated for each row to create a unique identifier.

Row Editor

Each row in the DataTable has an editor pane accessible via a modal dialog. This allows users to edit the row's data in a separate, focused interface.