Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

1.0.0 (Beta) to support Multiple Grids (Major Version includes breaking changes)

Choose a tag to compare

@ghiscoding ghiscoding released this 30 May 16:11
· 3847 commits to master since this release

This is a pre-release

It is not yet released. I made a mistake with NPM and forgot the Beta flag at some point. There is still another breaking change coming. The official release version will be 1.1.0 so stay tuned.

I am done with the refactoring and breaking changes, the official version will be release as 1.1.0 in mid-June. Make sure to follow the Migration Guide

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.

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

This version will be in Beta for at least a week or 2, until we try it out in our project and possibly get feedback from the community. If you find anything strange or not working, please open a new issue. Since this is in Beta, things could change still change slightly and if you guys want some changes, now is the time to express yourself.

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

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

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)