JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Dynamic resize of a row due to complex cell editor › Reply To: Dynamic resize of a row due to complex cell editor
I tracked this down to the isDirty boolean found on grid.layout. The first time it is false and everything works as expected. If I close the component that has the grid and then re-open isDirty is true. I’ll look in the source to see if I can learn more, but short story is setting isDirty to false in ngAfterViewInit (using bracket notation) works great, no more issues.
This is a workaround I’ll be using for now, but I am not 100% sold on it since isDirty is not something that is exposed in the API (using typescript here) so I interpret that as a property that is not meant to be changed manually.
I can try to create a stackblitz example, if so I’ll post here.