KoGrid icon indicating copy to clipboard operation
KoGrid copied to clipboard

Count on initial grid with no items

Open LordDelacroix opened this issue 9 years ago • 0 comments

Total Items shown in the footer for an empty grid is 1, when it should be 0 (zero) since, well, it's empty.

I believe this can be fixed at line 1556 via the following:

return self.config.pagingOptions.totalServerItems() || self.sortedData().length || 0;

instead of using:

return self.MaxRows();

LordDelacroix avatar Nov 18 '15 18:11 LordDelacroix