EnhancedLightningGrid icon indicating copy to clipboard operation
EnhancedLightningGrid copied to clipboard

Doubles not showing zero values

Open sfdcsteve opened this issue 5 years ago • 0 comments

If I have the grid populated with any double values, columns with a zero are simply not displayed. I think this is the culprit:

`var datachunk = field.datachunk; var datachunkid = field.datachunkid;

    var fieldurl = field.url;
    var objid = field.ObjId;

    if (!datachunk) datachunk = "";`

That last line should instead be:

if (datachunk == null) datachunk = "";

Code is in sdgDatagridCellController.js around line 22

sfdcsteve avatar Sep 04 '18 20:09 sfdcsteve