Skip to content

Commit e0beadf

Browse files
committed
[update] whats_new updated
1 parent 675290a commit e0beadf

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

docs/news/whats-new.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,35 @@ If you are updating Pivot from an older version, check [Migration to newer versi
1010

1111
## Version 2.1
1212

13-
Released on ...
13+
Released on May 6, 2025
1414

1515
### New functionality
1616

1717
- [Ability to freeze columns on the right](/guides/configuration/#freezing-columns-on-the-right)
18-
- [Numbers are formatted](/guides/localization/#number-formatting) according to the current locale with [a new possibility to define custom number formats](/guides/working-with-data/#applying-formats-to-fields) (for date and numeric fields) via `format` added to the [`fields`](/api/config/fields-property) property
19-
- [Ability to style header and table cells](/guides/stylization/#cell-style) via the `cellStyle` parameter of the [`tableShape`](/api/config/tableshape-property) and [`headerShape`](/api/config/tableshape-property) properties
18+
- [Default aligning](/guides/stylization/#specific-css-classes) and [locale-based formatting](/guides/localization/#number-formatting) for numeric values
19+
- [Ability to define custom number formats](/guides/working-with-data/#applying-formats-to-fields) (for date and numeric fields) via `format` added to the [`fields`](/api/config/fields-property) property
20+
- [Ability to style header and table cells](/guides/stylization/#cell-style) via the `cellStyle` parameter of the [`tableShape`](/api/config/tableshape-property) and [`headerShape`](/api/config/headershape-property) properties
2021
- Ability to insert HTML content to header and table cells via the [`pivot.template`](/api/helpers/template) helper by defining a template as a `cell` property of the header and column objects (table customization by intercepting the [render-table](/api/events/render-table-event) event)
2122
- [Excel and CSV export settings enhanced](/guides/exporting-data):
2223
- for the "xlsx" format, date and number fields are exported as raw values with default format or the format defined via the [`fields`](/api/config/fields-property) property
23-
- ability to add a file name, define whether to display heder/footer in the exported file, and other settings
24+
- ability to define file and sheet names and exclude header/footer from an exported file
2425
- ability to add styles and templates for exported cells
26+
- [Ability to filter data via an external input](/api/table/filter-rows)
2527
- Visual frame for cell navigation
2628
- [Integration with frameworks](/category/integration-with-frameworks)
2729

30+
### New API
31+
32+
- `right` setting within the `split` object of the [`tableShape`](/api/config/tableshape-property)
33+
- `cellStyle` setting within [`tableShape`](/api/config/tableshape-property) and [`headerShape`](/api/config/headershape-property) properties
34+
- `format` setting within the [`fields`](/api/config/fields-property) array
35+
- [`filter-rows`](/api/table/filter-rows) event of the internal Table
36+
- [`pivot.template`](/api/helpers/template) to define HTML content for table cells
37+
2838
### Fixes
2939

3040
- Total columns are not sorted
31-
- Values are converted to numbers during export
41+
- String values with the leading 0 are converted to numbers during export
3242
- Predicate template is not applied to rows/columns
3343

3444
### Breaking changes

0 commit comments

Comments
 (0)