Posted 24 December 2019, 1:33 am EST
Hi Kapil,
You can create an element that shows the ‘No Data Found’ error and bind it using ngIf.
<wj-flex-grid [itemsSource]="source" #flex (initialized)="initGrid(flex)">
<wj-flex-grid-column header="Country" binding="country"></wj-flex-grid-column>
<wj-flex-grid-column header="Date" binding="date"></wj-flex-grid-column>
<wj-flex-grid-column header="Amount" binding="amount"></wj-flex-grid-column>
</wj-flex-grid><br>
<p *ngIf="flex.rows.length === 0">No Data Found</p>
You may refer to the sample link below:
https://stackblitz.com/edit/angular-9mqwpb
Regards,
Ashwin