smartinsightsfromdata / rpivotTable

A R wrapper for the great library pivottable
Other
285 stars 71 forks source link

Table renders aggregate zeros as blank instead of "0" #83

Closed kalinagrawal closed 6 years ago

kalinagrawal commented 6 years ago

When an aggregate value is 0 (zero), the pivot table cell shows a blank instead of "0". I think this should show a true "0" to distinguish between:

Here's an RPubs.com pub that shows the issue and how to reproduce it.

Thanks for your hard work!!

http://rpubs.com/kagrawal/332425

PS: I reported this bug on the PivotTable GitHub issues and nicolaskruchten kindly mentioned that the issue is resolved in PivotTable.js version 2.14.0 but rpivotTable still uses version 2.11.0 .

I'm not sure how to update rpivotTable's use of PivotTable.js, however...

Thank you!

nicolaskruchten commented 6 years ago

This should be fixed in version 0.3.0 of this library! https://github.com/smartinsightsfromdata/rpivotTable/releases/tag/v0.3.0