Skip to content

Count on initial grid with no items #308

Description

@LordDelacroix

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions