Replies: 3 comments 7 replies
-
Also the method updateColumns is not defined:
|
Beta Was this translation helpful? Give feedback.
-
I don't know Angular very well, but couldn't you bind the columns to a dynamic state variable so that the columns update when you change the data in that state variable? That is how we do it in Vue. |
Beta Was this translation helpful? Give feedback.
-
Hi @Thoemmy, I didn't understand your case scenario. What @MattTheCuber suggested it makes sense, you need to trigger viewport refresh for the column header to be updated. To do so you can just put new columns ref or you can make a plugin which updates column data source store |
Beta Was this translation helpful? Give feedback.
-
I have a question regarding refreshing the column headers after the json hass been modified dynamically with user input.
How can i refresh the column headers in Angular properly without making a page reload?
Inside revogrid the columns got updated if i change the columns and transfer it into the revogrid attribute columns.
But currently ony the width of the rows are adjusted without the column header, this only gots refreshed after page reload or if you manually resize the column header.
The refresh('all') method is undefined in angular but i guess this is only for rgRows as written in the docs.
Would be nice if ou could give me a suggestion.
Beta Was this translation helpful? Give feedback.
All reactions