This repository was archived by the owner on Jun 1, 2025. It is now read-only.
feat(PostRender): use postRender to render an Angular Component, closes #7 #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this closes issue #7
I reopened the issue as this will be possible with this PR,, however there are limitation. This is doable via
asyncPostRender
(withenableAsyncPostRender
) but this is an async function in SlickGrid and this works fine but we can visually see the data being change. So basically, we cannot use a Formatter because Angular Component needs at least 1 cycle before the Angular Component is rendered properly and SlickGrid Formatter requires string right away, so we cannot use Formatter for that reason.Here's a SlickGrid PostRender demo and here's an animated gif of an Angular Component using the
postRender
. While I scroll up down, you can visually see a slight delay in rendering the content of that cell (the bold text, 3rd column)... but hey it's works and it might useful for some.