Releases: ghiscoding/aurelia-slickgrid
Small list of fixes
Bug Fixes
- css: plugin styling was affecting pages outside of slickgrid (2c103c0)
- formatter: don't use strict date check on Date Formatters (8746f11)
- graphql: resort was causing issues when used with Presets (5715bce)
- graphql: typing empty filter in GraphQL shouldn't include empty str (3d17d7e)
- gridState: Grid Stage changed was not being called on empty filter (842d6e7)
- regression: dynamically add a new column definition (b8b4d01)
Bootstrap 4 support
Features
- formatter: add new Decimal Formatter (f33d075)
- bs4: support Bootstrap 4 (6865bed)
- a new repo & demo is now available specifically for Aurelia-Slickgrid with
Bootstrap 4
, so go check it out
- a new repo & demo is now available specifically for Aurelia-Slickgrid with
Bug Fixes
- filter: input filter was using EQ operator instead of Contains (9a86a74)
- formatter: Date Formatters should only transform on valid dates (2e08e47)
- slider: slider issues with IE and Edge (4c2a193)
- slider: slider issues with IE and Edge (015ecfc)
- slider: slider number shown on right was sometime offset (f21dba3)
Official 2.x Major Release
Official 2.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 2.x
is available here 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 #19 issue and again the Migration Guide to 2.x
is available here
List of changes
This list does not include everything, for the entire list of changes take a look at #19 issue and the Migration Guide to 2.x
is available here
Wiki documentation
The Wiki are all updated (where necessary) to use latest version 2.x
. I strongly suggest you to look at the GitHub demo, you can see them all here
Features
- editor: add new Slider Editor & refactor Editor Validation (#80) (46f140c)
- filter: add new Slider Filter (input range) (#79) (6b45b0c)
- formatter: add new Mask Formatter (1c3c09c)
- see Example 2 for a demo with phone number mask
- grid: expose all Services and SlickGrid objects into new
(onAureliaGridCreated)
Event Emitter- this is the biggest change to refactor in your projects (please review Migration Guide)
- grid: support multiple grids in a view (see Example 1 and Example 10)
Bug Fixes
- filter: clear filter should trigger only 1 Grid State change (43fc269)
- filter: Grid State incorrect after clear filters w/backend service (289deec)
- filter: multipleSelect filter doesn't handle cell value arrays (e695660)
- filter: regression, input filter using with typed operator (65aa4eb)
- filter: SingleSelect Filter (& others) should return all when empty (#77) (266507e)
- gridMenu: custom user commands not recreated after locale switch (d585de5)
- gridState: multiple fixes with Grid State & Presets with locale (8182351)
- menu: Column Picker menu list was not being translated (3f41262)
- menu: Grid Menu & Header Menu custom items were not translated (729242e)
- merge: fix merge conflict (a4456ae)
- presets: Presets w/MultipleFilter only taking 1st filtered value (eacd633)
- selector: Checkbox selector was not working correctly with Presets (8055050)
- slider: slider should always be starting at 0 (b771182)
- sort: Presets & Sort caused unintended behavior w/dataview changed (#76) (d199488)
- update: updateDataGridItemById was throwing error on 1st row (0) (94e0820)
2.0.0 (Beta) to support Multiple Grids (Major Version includes breaking changes)
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 in itself is 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 #19 issue and the Migration Guide to 2.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 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 #19 issue and the Migration Guide to 2.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
(onAureliaGridCreated)
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)"
- View example:
- (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
Refactoring
- (grid): Remove all deprecated code and functions
- (backend): all backend service methods renamed as processOnX
- (gridOptions): all Grid 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
(likecollection
) intoeditor
property
Fixes
- fix(filters): return
false
when invalid date - fix(sorters): return
-1
or1
for invalid dates - (editors): fix serialization/deserilization in editors
Last "1.x" version before major "2.x" rewrite
Dynamically Change Column Definitions and Grid Definitions on the Fly
Features
- grid: ability to dynamically add or change Column Headers (#65), closes #57
- You can see a demo in Example 12, click on the button "Dynamically Duplicate Title Column"
- filters: add more operator types to collection svc filter (#66) (4359e67), closes #63
- resize: use gridHeight or gridWidth when provided on autoResize (#59
Bug Fixes
- control: Grid Menu z-index is too low when inside a modal window (b722f6d)
- dataview: preserve any previous sort when resetting items (#62) (2112768)
- editor: Int/Float Editors multiple small enhancements (#54) (b208fcf)
- editors: fix serialization/deserilization in editors (2ee03b0), closes #56
- editors: fix serialization/deserilization in editors (f3610d7), closes #58
- editors: use
indexOf
in multiple select editor to load value (21215c4), closes #50 - editors: use
indexOf
in multiple select editor to load value (599a803) - eventService: use grid.getOptions for gridDefinition (e67e93a), closes #49
- eventService: use grid.getOptions for gridDefinition in event service (0be30fd), closes #51
- grid: issue #44, sort icon hidden behind grid menu w/small dataset (#53) (737da5f)
- grid: Resizer on 1st grid stop working after 2nd grid is created (ed462ca)
- grid: Support Row Selection & Inline Editors in 1 view (1da7b7a)
- grid: use
this.gridOptions
in bind & remove aurelia args (3bd2d90) - gridOptions: use
this.gridOptions
in bind fn (48de363) - headerMenu: we should not display header menu on row select column (#64) (efe1c21)
BREAKING CHANGES
- filters: Reversing the 'EQ' filter logic. This was done now because the filter feature was new and it follows the javascript
filter
logic (since equal will filter values equal to the value provided)
- Wiki updated
Row Colspan, Header Title Grouping, Default Header Menu, and more...
Features
- graphql: add option to pass extra query arguments (f278c73)
- grid: add a default Header Menu with Sort Asc/Desc & HideColumn (#47) (db5fc16)
- this is the new default, all grids now have them
- grid: add all missing grid options available in SlickGrid (7d194ed)
- grid: add Column Span (colspan) demo (e20a3f6)
- see new demo page
- grid: add Header Grouping Title (#43) (67ff867)
- see new demo page
- grid: Excel like Copy with Copy Manager Plugin (#45) (dbbbe56)
- read the Wiki doc
- you can try copy & paste (like Excel) from this demo - Editor or demo - Localization then paste it in Excel
- sorting: add support for multi-columns number indicator & tristate (ada47cd)
- try a multiple column sort and you will see the new numbering
- grid: add deleteDataGridItem & deleteDataGridItemById into Service (2e927f2)
Bug Fixes
- editor: Single/MultiSelect Editors misbehave w/Desc Sort, fixes #46 (71916dc)
- excelCopy: Excel Copy Buffer should have sanitize option as export (8c57298)
- formatter: make sure object exist before getting property (4961cab)
- grid: calling refreshBackendDataset was not refreshing UI (24a061e)
- grid: after expanding a column, scrolling should not resize grid (bf83c90)
Grouping & Aggregators / DI support in Editors
Bug Fixes
-
graphql: make sure column exist before trying to get properties (7122d6a)
-
graphql: remove throw error when dataset is empty or bad structure (36ea506)
-
grid: gridHeight & gridWidth not set, closes #35 (#40) (0bd2c53)
-
merge: fix last merge had conflicts (15e80e8)
-
merge: fix some merge conflicts (d2172df)
-
preset: Preset with backend were not working when using queryField (7ce538a)
-
tasks: VSCode Taks command were broken in new VSCode insiders (653ecb8)
-
grid: grid fixed sizes wasn't working in Edge/Firefox, closes #35 (a7669df)
Features
- editor: add dependency injection support in editors (#33) (61a1a31), closes #18
- editor: auto-adjust ms-select drop up/down by available space, closes #34 (c86911c)
- filter/editor: add functionality to filter/sort collection (#38) (2a276a6)
- grouping: Grouping & Aggregators (#41) (333182f)
- resizer: add last resized Grid Dimension getter (cd6013e)
- sort: add a Clear Sorting function and grid menu command (#39) (f709dc7)
- styling: make the multiple-select.js "Select All" text 100% wide (0b2909c)
Compound Filters
Features
- filter: Compound Filters (input & date) (PR #32) (763e766)
- See Wiki - Compound Filters for more info.
Bug Fixes
- backend: Grid Presets sort order not correct with backend services (22f687b)
- editor: i18n service can also be passed as params in gridOptions (c11eff4)
- filter: single select filter incorrect onFilterChanged on Presets (c7e186a)
- formatter: dateTimeIso Formatter was using dateIso (6756de8)
- gridState: Filter were not always returning searchTerm in GridState (67f167a)
- jquery-ui: use latest version of jQuery-UI to avoid jQuery 3 errors (c546865)
Grid State Events
Bug Fixes
- build: incorrect type any (5ffc0a1)
- formatter: add throw error with instruction if missing params (cbb01d9)
- formatter: multipleFormatter should pass value to next formatter (bf6b006)
- pagination: Pagination with BackendServiceApi was incorrect (fba8750)
- requireJS: import for RequireJS should have /index (b796c26)
- sample: fix the client-CLI sample (407ba66)
- sass: all sass properties should have an override capability (6d03cd7)
- utilities: move findOrDefault to a function (#29) (3d21548), closes #27
- formatter: translate formatter was causing issues in some occasion (8acdc28)