Skip to content

Official 1.x Major Release

Compare
Choose a tag to compare
@ghiscoding ghiscoding released this 19 Jun 21:04
· 3668 commits to master since this release

Official 1.x Release

This is a Major version and does include a few breaking changes to bring support to Multiple Grids in a view. I had to change the Singleton Services to non-Singleton and that already is, in itself, a major breaking change. Make sure to follow the Migration Guide to upgrade to latest.

Since this is breaking, I decided to include a long list of changes that I had put aside to refactor.
The entire list of changes can be seen in #31 issue and the Migration Guide to 1.x is available here

List of changes

This list does not include everything, for the entire list of changes take a look at #31 issue and the Migration Guide to 1.x is available here

Wiki documentation

The Wiki are not yet changed but will be in the coming days, it might take some time to update them all. In the mean time, I strongly suggest you to look at the GitHub demo, you can see them all here

Features

  • (grid): change all services to non-singleton
  • (grid): support multiple grids in a view (see Example 1 and Example 10)
  • (demo): add dynamic column header change to Example 12
  • (grid): expose all Services and SlickGrid objects into new (onAngularGridCreated) Event Emitter
    • this is the biggest change to refactor in your projects (please review Migration Guide)
  • (grid): expose all Slickgrid and DataView events through dispatch
    • View example: (sgOnSelectedRowsChanged)="handleSelectedRowsChanged1($event.detail.eventData, $event.detail.args)"
  • (rowSelect): add preselectedRows and expose all Plugin
  • (formatter): add new Percent and PercentSymbol Formatters
  • (editors): add new Custom Editor functionality
  • (gridState): add Column Size/Visibility/Position in Grid State & Presets
  • (gridState): add Grid State & Presets example with Local Storage
  • (editor) Editor Validation and Custom Validators
  • (editor) Add new Slider Editor
  • (filter) Add new Slider and Compound Slider Filters

Refactoring

  • (grid): Remove all deprecated code and functions
  • (backend): all backend service methods renamed as processOnX
  • (gridOptions): all Grid Menu & Header Menu showX were renamed hideX
  • (searchTerm): remove searchTerm and only use searchTerms
  • (styling): change highlight and selected row color to blueish
  • (styling): change mouse hover background color
  • (editor): move all Editor generic params (like collection) into editor property
  • (formatter): add new Mask Formatter

Fixes

  • (filters): return false when invalid date
  • (sorters): return -1 or 1 for invalid dates
  • (selector): Checkbox selector was not working correctly with Presets
  • (editors): fix serialization/deserilization in editors
  • (menu): Grid Menu and Header Menu custom user commands were not working
  • (gridMenu): custom user commands not recreated after locale switch
  • (filter): multipleSelect filter doesn't handle cell value arrays (issue #41)
  • (filter): regression with input filter with operator in string filter (issue #42)