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

Angular Components everywhere

Choose a tag to compare

@ghiscoding ghiscoding released this 21 Feb 18:43
· 3433 commits to master since this release

News

Good news, previous release brought the Row Detail and that helped with this new release (Angular Component everywhere). We can now use Angular Components with Custom Editors, Custom Filters and Custom AsyncPostRender (similar to a Formatter but in an async way, that is the only available solution that works with SlickGrid).

More info about Formatters vs AsyncPostRender

So what about Formatter then, why can't we use Angular Component with Formatter? Because of how Angular is built, it requires a full cycle for the component to be rendered with data, however SlickGrid Formatter requires only string output and it must be right away (synchronous) and Angular Component can only be returned in an async fashion (you could return it right away but the data won't be populated). That is the reason that it's not doable with a Formatter, however SlickGrid AsyncPostRender is similar and works in an async fashion. So that works, but it has some drawback, it's slightly slower to render (you can visually see it rendering on the screen). All that to say, regular Formatters with jQuery and/or HTML is still the preferable way... but hey, if you really wish to use Angular Component, well then it's now possible, but I won't personally use it though.

Features

Fixes

  • (filter): regression bug filtering data doesn't always refresh grid
  • (backend): perf, clear filters was calling too many queries (1x/filter)
  • (formatters): some formatters were not considering empty string
  • (editors): small regression bug causing infinite loop in rare occasion
  • (backend): Clear Filter from Header Menu was not working correctly

Refactoring

Vote

If you haven't already done so, please up vote ⭐️
Let's make the lib more popular 😃