Issue with Printing Zeros in DataGrid

I have a datagrid with data, and there are columns with cells that contain ‘0’. However, when I print, the cells with zeros appear empty. They should contain the zeros when I’m printing.

We investigated your situation and came to the conclusion that this is a bug. Zeros, which are considered string, are not displayed. We can suggest using the numbers type as a temporary workround: Code Snippet. We will fix the bug as soon as possible.

Do you have an estimate on when the patch will be released? I’m also having trouble understanding the code snippet showing the workaround. The rating header, which uses the votes data without formatting, works correctly and prints out the zeros. Also, webix.i18n.numberFormat(value); adds decimals and returns a string. Could you clarify the example?

We are currently actively working on the update and cannot tell you the exact date. We will be sure to notify you as soon as the update becomes available.

Speaking of workround, please check out the following snippet: Code Snippet. As you can see, the problem you described is repeated there. Temporarily we can suggest converting the format from number to string manually with the format property, this solves the problem with printing: Code Snippet.

I used the workaround and it seems to be working now. It also fixed another issue I had!

When I was printing and the whole column contained zeros, I was thrown an error and couldn’t print at all. But it seems to have been related with this bug and it got solved.

Glad to hear, that everything works fine now.

We notify you after fix.

Hello @simon_boijer ,
The reported issue has been fixed in the Webix 10.3 version .