SUPPORT-8889: fix grid row data init
This commit is contained in:
parent
d22fa8986c
commit
40ceabd3fc
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export class InMemoryStaticGrid extends GridV2 {
|
||||||
protected initGrid() {
|
protected initGrid() {
|
||||||
super.initGrid();
|
super.initGrid();
|
||||||
this.subscription = this.injector.get(ErvuDataService).message.subscribe(value => {
|
this.subscription = this.injector.get(ErvuDataService).message.subscribe(value => {
|
||||||
this.rowData = value[this.dataList];
|
this.rowData = value ? value[this.dataList] : null;
|
||||||
this.initDeferred.promise.then(() => {
|
this.initDeferred.promise.then(() => {
|
||||||
this.refreshData();
|
this.refreshData();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue