Releases: ghiscoding/Angular-Slickgrid
Small breaking change with Editor/Filter CustomStructure
Released under a minor
release because it's a breaking change (though not big enough for a major
).
I would be surprised that anyone even used these new options yet which were added faily recently to the customStructure
object, but just in case, I decided to release a minor
version for that reason
Breaking Change
- (customStructure): options moved to new collectionOption property
- cut all options (4x) out of
customStructure
and move them to the newcollectionOption
property - the 4 options moved were (
addBlankEntry
,collectionInObjectProperty
,separatorBetweenTextLabels
,includePrefixSuffixToSelectedValues
) which are now undercollectionOption
- cut all options (4x) out of
MultipleSelect / SingleSelect Editors & Filters Collection Async
Features
- (editor): add
collectionAsync
to editor - (filter): add
collectionAsync
to filter - (formatter): add new arrayObjectToCsv Formatter
- (formatter): add 2 new DateTime Short Formatter without seconds
- (filter): optionally pull collection from object property
- (filter): optionally add a blank entry to the collection
- (editor): optionally pull collection from object property
- (editor): optionally add a blank entry to the collection
Refactoring
- (styling): change default singleSelect radio icon
- (example): add editors inside the example to test issue reported in #53
Fixes
- (pagination): Only display Pagination with backendServiceApi
- (build): remove unnecessary lodash from package.json
- (filter): MultipleSelect Filter had z-index too low in modal window
- (sanitize): replace sanitize-html with DOMPurify for a much smaller lib
- (selector): Row Selection should be reset for a Sort change also
- (editor): LongText Editor should'nt throw i18n error when missing
- (grouping): Grouping with Filter should work together, closes #57
Breaking Changes
- (custom): Editor/Filter CustomStructure
addSpaceBetweenLabels
property replaced byseparatorBetweenTextLabels
Multiple/Single Select Editors/Filters Enhancements
Features
- (filter): add prefix/suffix labels to Multiple/Single Select Filters
- (filter): add option to render HTML code in Multiple/Single Filters
- (editor): add prefix/suffix labels to Multiple/Single Select Editors
- (editor): add option to render HTML code in Multiple/Single Editors
- (sanitize): add a way to change default options of sanitize-html
- (styling): add multiSelect OK button font weight & change color
- (filter): add new addSpaceBetweenLabels flag for prefix/suffix
- (editor): add new addSpaceBetweenLabels flag for prefix/suffix
Fixes
- (filter): MultipleSelect & SingleSelect Filters only trigger changes
- (selection): On filter changed, we should remove any rows selection
- (filter): regression bug, Filters should trigger only on changes
- regression ref commit e06b797
Bootstrap 4 support
Features
- (gridService): add a flag for highlighting the row after add/update
- (theme): support Bootstrap 4
- a new repo & demo is now available specifically for Angular-Slickgrid with Bootstrap 4, so go check it out
- (gridService): add more commonly used functions in GridService
- (graphql): export destroy fn & add process timestamps to GraphQL
- (telemetry): add telemetry statistics to backendServiceApi
- (backend): optionally pass grid options to refresh backend method
- (resizer): resizeGrid now returns a Promise with last dimension used
- (formatter): add params minDecimal/maxDecimal to Dollar Formatters
Fixes
- (slider): slider issues with IE and Edge
- (formatter): Date Formatters should only transform on valid dates
- (formatter): don't use strict date check since UTC on Date Formatters
- (css): plugin styling was leaking outside of slickgrid
- (gridState): Grid Stage changed was not being called on empty filter
- (presets): reSort was causing issues when used with Presets and Backend Service API
- (graphql): missing column in query using Grid Presets and hidden col
- (error): add item to datagrid should not require selection model
- (build): try fixing #48 Can't resolve all parameters in d.ts
- (filter): searchTerms sometime comes back even after clear filter
- (example): example was showing warning on build
- (pagination): On page changed, we should remove any rows selection
- (event): dispatchEvent should be cancelable, closes #52
- (selection): single row selector should hide "Select All", closes #55
add Decimal Formatter and fixed input Filter
Features
- (formatter): add new Decimal Formatter
Fixes
- (filter): input filter was using EQ operator instead of Contains
Official 1.x Major 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)"
- 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
- (gridState): add Grid State & Presets example with Local Storage
- (editor) Editor Validation and Custom Validators
- (editor) Add new Slider Editor
- Take a look at Example 3
- (filter) Add new Slider and Compound Slider Filters
- Take a look at these examples:
- Example 3 with default Operator
=
- Example 9 with Compound Slider
- Example 12 without Slider Number showing
- Example 15 with Operator
>
- Example 3 with default Operator
- Take a look at these examples:
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
(likecollection
) intoeditor
property - (formatter): add new Mask Formatter
Fixes
- (filters): return
false
when invalid date - (sorters): return
-1
or1
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)
1.0.0 (Beta) to support Multiple Grids (Major Version includes breaking changes)
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)"
- 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
- (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
(likecollection
) intoeditor
property
Fixes
- (filters): return
false
when invalid date - (sorters): return
-1
or1
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)
Dynamic Grid Options and Column Definitions
Features
- (grid): ability to dynamically add or change Column Headers and/or Grid Options
- you can see Example 12, click on "Dynamically Duplicate Title Column" to see it in action
- (resize): use
gridHeight
orgridWidth
when provided- if user pass any of them, even when the grid option enableAutoResize is enabled, we will use the provided size to fix that one but resize the one that is not provided.
- Example, let say the user passes gridHeight="300", the autoResize service will only resize the width and never the height because it is now a fixed height.
Fixes
- (grid): issue #20 Dynamic Headers in Angular 5
- this is the new feature mentioned on top "Dynamic Grid Options and Column Definitions"
- (editor): Date Editor was not using picked date
- (editors): use indexOf in multiple select editor to load value
- (editor): Date Editor was not using picked date
- (headerMenu): we should not display header menu on row select column
- Wiki - Header Menu updated
- (dataview): preserve any previous sort when resetting items
- (control): Grid Menu is shown behind grid when using modal window
Few small fixes & updated to latest Slickgrid version
Fixes
- (editor): provide decimal places option to Float Editor
- (eventService): use grid.getOptions for gridDefinition
- (build): ngx-translate has new version 10 that have breaking changes
- (example): header button highlighting was staying red even after leaving and coming back on the same example
- (grid): issue #27, sort icon hidden behind grid menu w/small dataset
- a new grid option flag was added in SlickGrid (by me actually) which is
alwaysShowVerticalScroll
to remove visual issues observed with small dataset - this fix was only possible through the new SlickGrid version
2.3.18
released recently
- a new grid option flag was added in SlickGrid (by me actually) which is
Features
- (styling): text and number editor should be displayed, add styling
- (slickgrid): updated to latest SlickGrid version
2.3.18
which brings a few fixes in the core
Row Colspan, Header Grouping & Default Header Menu
Features
- (grid): add Column Span (colspan)
- see new demo
- (grid): add Header Grouping across multiple colspan
- see new demo
- (sorting): add support for multi-columns number indicator & tristate
- try doing a multi-sort in any of the grids
- (grid): add all missing grid options available in SlickGrid
- (grid): Excel like Copy Buffer with Copy Manager Plugin
- read the Wiki - Excel Copy Buffer Plugin
- on this Formatter demo or Editor demo page, try to highlight the cell you want to copy and paste them in Excel
- (grid): add a default Header Menu with hideColumn, sort Asc/Desc commands
- now enabled by default in global grid options
Fixes
- (style): formatter should not remove href link underline
- (grid): calling refreshBackendDataset was not refreshing UI
- (formatter): make sure object exist before getting property
- (editor): SingleSelect & MultiSelect Editors misbehave w/sorted desc