This repository was archived by the owner on Jun 1, 2025. It is now read-only.
Releases: ghiscoding/Angular-Slickgrid
Releases · ghiscoding/Angular-Slickgrid
Lot of Backend Event Service refactoring
New Features
- rewrote the entire Backend Service implementation to make it much simpler to use
- you no longer need to call
initOptionsseparately to define service options, you can now do that directly in thebackendServiceApi - a new option flag
executeProcessCommandOnInit(only GraphQL for now) was added and if set to true will make theonInitirrelevant (though it still exist and available). This new flag when set to True will run theprocesscallback on page load (component init). - another option flag
addLocaleIntoQuerywas added to deal with GraphQLfilterByandorderBywith translated values. - made
filterTypingDebounceoptional, default to 750ms - made GraphQL
postProcesstotally optional, the service now use aninternalPostProcessthat will takes care of filling the slickgrid dataset and pagination info (prior to this change, you had to manually deal with them).postProcessis still available and you can still use it to stop a spinner or anything after the process is done. onBackendEventApiis deprecated is replaced bybackendServiceApi, you can still use previous implementation but you will get a warning in the console.
- you no longer need to call
- new Column option
queryFieldwas added so that you can use another field to do anorderByorfilterBy(this works with all implementation, regular grid with JSON dataset and/or backend services OData/GraphQL) - Inline Editor
dateEditorwill now translate automatically by usingngx-translate currentLangto use proper locale with Flatpickr. - renamed Event Emitter
onGridDestroyedtoonAfterGridDestroyedto be more consistent with the others.
Fixes
- fixed issue #8 when using inline editor
dateEditorand latestFlatpickrversion - fixed issue #9 string filter should be case insensitive
- fixed string filter with (*) operator on filter, the filtering query was inverse
John*=> startsWith,*Doe=> endsWith
- fixed, yet again, an error thrown by SlickGrid saying: "Stylesheet missing"
- Backend Service Pagination
- changing the page size in the UI was returning a string to
pageSizeand was breaking the pagination - changing page then typing a filter was not reseting the GraphQL offset property which would sometime break pagination since we could be out of bound.
- changing the page size in the UI was returning a string to
Deprecated
onBackendEventApiwas deprecated, please use the much simplerbackendServiceApiinstead. You will receive a warning in the console when using previous property. Please refer to the OData Wiki or the GraphQL Wiki for more info on the new property usage.
New Styling and Event Emitters
Fixes
- check grid exist before trying to resize (or auto-resize) the Grid to avoid console error thrown by SlickGrid
- fix an error thrown by SlickGrid when editing a row and highlighting it
New Features
- add info icon Formatter
Formatters.infoIconwith has Font Awesome (fa-info-circle) - add extra SASS border variables for multiple elements
- border around Header Titles
- border around Header Filter Row
- border around ViewPort
- add flag to show/hide Clear Filters & Toggle Filter commands in GridMenu
- add Refresh Dataset command in GridMenu for backendAPI Services only (OData / GraphQL)
- added many new Event Emitters
onDataviewCreatedonGridCreatedonBeforeGridCreateonBeforeGridDestroyonGridDestroyed
OBSOLETE in future version
These 2 Event Emitters got renamed to be consistent in the new naming structure (every emitter now start with onX prefix). You can still use the old names, but I'd like to remove them in future releases.
dataviewChangedrenamed toonDataviewCreatedgridChangedrenamed toonGridCreated
You can see the Event Emitter documentation in the Wiki - Grid & DataView Events
Add localization to Select dropdown filter
Fixes
- fix select Dropdown filter not working correctly with string
- fix highlight row sometime throwing slickgrid error with updateItem
New Features
- add localization to Select dropdown filter
- example 12 on the demo was also updated to show this change
Fix Backend Service postProcess got called 2x times
- Add a
destroyFilters()function to fix the backend services (OData/GraphQL) that were calling 2x times apostProcessintroduced by previous version change.
Small fixes
Fixes
- fix ClearFilters not working with GraphQL & OData Services
- update French locale
- move some npm packages to dev dependencies
Minor Translation Fixes & new Styling of Checkbox Selector (row selection)
Fixes
- Column Picker and Grid Menu last 2 checkboxes (force fit column & synchronous resize) are now translated.
- this became possible with the latest version of Slickgrid
2.3.12, make sure you have latest version installed
- this became possible with the latest version of Slickgrid
New functionalities
- Add GraphQL flag (
keepArgumentFieldDoubleQuotes) to keep field with double quotes in query- that adds more flexibility of dealing with Complex Objects in a GraphQL query
- Refactored GraphQL Service properties to make it easier to use
- there's nothing remove though, just addition of properties like
columnDefinitionsandcolumnIdsthat you can pass directly to the GraphQL Service options
- there's nothing remove though, just addition of properties like
- Add new CSS/SASS styling for the Checkbox Selector plugin (row selections)
- this requires latest version of Slickgrid
2.3.12, so make sure you have latest installed - new SASS variables were also added to customize the checkbox even more (color, size, opacity)
- this requires latest version of Slickgrid
GraphQL fixes and add new flag
Fixes
- fix GraphQL filter with slashes and other special chars
- add GraphQL flag to keep field with double quotes in query
- This new flag will be useful when used with complex object
Add missing translation to Pagination Component
v0.7.1 add missing translation to Pagination Component
Localization support with `ngx-translate`
Breaking changes
ngx-translateis now a dependency provider and needs to be setup. Please read the Wiki - Localization.
But I'm now using any locales, what then?
You still need to do the minimal setup, which is described in the Wiki - minimal setup
GraphQL Service with complex object
Updated GraphQL Service to deal with Complex Object. You can review the Wiki - Complex Object note that was added