Aysnc columnDef meta fields? #5263
Unanswered
callmekatootie
asked this question in
Q&A
Replies: 1 comment
-
You can just useState for dynamic values used by the Column Def. Just remember to update the useMemo dependency array |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my ColumnDefs, I am using the meta attribute to specify that a column needs to be a select dropdown.
The options for this select need to come from an API.
Are there any examples of using the ColumnDef meta object to fetch data asynchronously, before I can use it my cell() function?
Or is there a different approach I need to take?
Beta Was this translation helpful? Give feedback.
All reactions