Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Display all rows in grid #7685


User avatar
0
abrewer created

Hello, in the angular solution, all of the grids that are generated have paging. Is there a simple way to configure a grid to display all rows, and not use paging?

Thanks


6 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    HI @abrewer, can you provide your ANZ version and framework?

  • User Avatar
    0
    abrewer created

    its the latest version

  • User Avatar
    0
    ryancyq created
    Support Team
    • What is your product version?
    • What is your product type (Angular or MVC)?
    • What is product framework type (.net framework or .net core)?
  • User Avatar
    0
    abrewer created

    7 angular .net core

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @abrewer

    The records are paged on the server side according to sent parameters to server. So, for specific pages, instead of using below lines;

    this.primengTableHelper.getMaxResultCount(this.paginator, event) this.primengTableHelper.getSkipCount(this.paginator, event)

    You can use 0 for this.primengTableHelper.getSkipCount(this.paginator, event) and a high number for this.primengTableHelper.getMaxResultCount(this.paginator, event) in your components. But, use this carefully otherwise, there will be performace problems on your server :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.