Hi Nagendra,
Greetings from Syncfusion support.
Query: Grid cell empty when zero.
Based on your request, we understand that you want to show
empty cells in the grid which have zero values. You can achieve this is by
changing the zero value to null or undefined using the queryCellInfo event of
the Grid component. Here is an example of the code we implemented:
[app.component.ts]
queryCellInfo(args) {
if (args.data.symbolId === 0)
{
args.data.symbolId =
undefined;
}
}
|
Sample: https://stackblitz.com/edit/angular-nwmzxn?file=src%2Fapp.component.ts
API: https://ej2.syncfusion.com/angular/documentation/api/grid/#querycellinfo
Regards,
Vinitha Balasubramanian
If this post is
helpful, please consider Accepting it as the solution so that other members can
locate it more quickly.