Released on May 6, 2025
If you are updating Pivot from an older version, check Migration to newer versions for details.
Review of the release on the blog page
New functionality
- Ability to freeze columns on the right
- Default aligning and locale-based formatting for numeric values
- Ability to define custom number formats (for date and numeric fields) via
format
added to thefields
property - Ability to style header and table cells via the
cellStyle
parameter of thetableShape
andheaderShape
properties - Ability to insert HTML content to header and table cells via the
pivot.template
helper by defining a template as acell
property of the header and column objects (table customization by intercepting the render-table event) - Excel and CSV export settings enhanced:
- for the "xlsx" format, date and number fields are exported as raw values with default format or the format defined via the
fields
property - ability to define file and sheet names and exclude header/footer from an exported file
- ability to add styles and templates for exported cells
- for the "xlsx" format, date and number fields are exported as raw values with default format or the format defined via the
- Ability to filter data via an external input
- Visual frame for cell navigation
- Integration with frameworks
New API
right
setting within thesplit
object of thetableShape
cellStyle
setting withintableShape
andheaderShape
propertiesformat
setting within thefields
arrayfilter-rows
event of the internal Tablepivot.template
to define HTML content for table cells
Fixes
- Total columns are not sorted
- String values with the leading 0 are converted to numbers during export
- Predicate template is not applied to rows/columns
- Resize observer error in corner cases
Breaking changes
colWidth
parameter of thesizes
object in thetableShape
property renamed tocolumnWidth