debabratapatra / angular-tree-grid

Angular 10 Tree Grid
https://curiouslinks.com/pages/angular-tree-grid/demo
MIT License
31 stars 17 forks source link

Refresh tree grid #12

Closed kumarvarun1879 closed 5 years ago

kumarvarun1879 commented 5 years ago

hoe can i Refresh whole table as per new data set.

debabratapatra commented 5 years ago

If your html looks like below.

<db-angular-tree-grid [data]="users" [configs]="configs"></db-angular-tree-grid>

then I guess you could assign new data set to "users".

this.users = newData

rahulcse1 commented 4 years ago

I did like that only but it's not refreshing. here is the code <db-angular-tree-grid [data]="gridData" [configs]="configs"> in ts this.gridData = newData; // newData changed when dropdown change

rahulcse1 commented 4 years ago

Its look like. it does not render table once its already rendered.