Base solution for your next web application
Open Closed

Ui-Grid Number of Records Per Page not Correct #3376


User avatar
0
moustafa created

Hello i have a small problem in ui-grid - v4.0.2 as you can see in the attached image in Users Page there is only one record and in the grid footer ui-grid tells me that it's showing from record 1-2 so it's always increasing records per page by one but i don't know why

any ideas?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @moustafa,

    Can you share the returned data from GetUsers ajax call ? You can see it on chrome's network tab.

    Thanks.

  • User Avatar
    0
    moustafa created

    Hi @ismcagdas

    BWT i didn't made any changes to users page in both client side and server side and i have the problem all my pages that i use ui-grid ,
    returned data

    result:
    {totalCount: 1, items: [{name: "admin", surname: "System Administrator", userName: "admin",…}]}
    

    thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Our version seems a bit old v3.2.1. This problem might be related to ui-grid, it works on that version as expected.

    Can you try to upgrade ui-grid to latest version ? If that does not work, please send your project to us via email including your db if possible.

    Thanks.