Migration to newer versions
1.5 -> 2.0
This list of changes will help you migrate from the previous version of Pivot 1.5 to the totally renewed version of Pivot 2.0
note
Check our converter for data migration from v.1.5
Changed API
Properties
New properties do not fully duplicate the previous ones but provide more extended functionality.
- fieldList -> fields
- fields -> config
- mark -> the
marks
parameter of the tableShape property - types -> methods
- layout -> columnShape, headerShape, readonly
- customFormat -> predicates - custom pre-processing functions for data
Events
- filterApply -> apply-filter
- fieldClick -> there's no an identical event but you can refer to update-field
Removed API
- Methods from version 1.5 are deprecated, all new methods you can find here: Methods
- Pivot 1.5 events (
change
,fieldClick
,applyButtonClick
) are no longer available in Pivot 2.0 but you can find more extended functionality in a new version (refer to Pivot events)
Important features
- Exporting data: previous export option -> new export option
- Sorting: sorting fields -> sorting data
- Tree mode: gridMode -> enabling tree mode
- Date format: configuring date fields -> setting date format
- Customization:
- Filtering: manipulating with filters -> filtering data