Devextreme-angular: DxDataGrid does not update a lookup column if the lookup data source is changed at run-time

Created on 2 Mar 2017  路  5Comments  路  Source: DevExpress/devextreme-angular

devextreme-angular - 16.2.

Plunker

Screenshot

bug

Most helpful comment

I have the same issue. I spent hours but couldn't solve it.

All 5 comments

At the moment, replace the whole lookup object.

<dxi-column dataField="ID" caption="State" [width]="400" [lookup]="stateLookup">
</dxi-column>
setStates(): void {
  this.loadService
    .getStates().then(
      data => {
        this.stateLookup = {
          dataSource: {
            store: {
              type: 'array',
              data: data
            },
          paginate: true,
          pageSize: 50
        },
        displayExpr: "Name",
        valueExpr: "ID"
      };
      }
    );
 }

Plunker

This issue was fixed in DevExtreme 16.2.7

I have the same issue. I spent hours but couldn't solve it.

This issue still exist

Still have this issue in 20.1.8

Was this page helpful?
0 / 5 - 0 ratings