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

userGridOptions in Angular1.5 version - Visible rows per pag #2453


User avatar
0
rvanwoezik created

maybe a stupid question, but where do i change the Visible rows per page for the usergrid in Angular 1.5?

Thanks in advance! Rene van Woezik


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

    Hi,

    You can change it here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/App/common/views/users/index.js#L38">https://github.com/aspnetzero/aspnet-ze ... dex.js#L38</a>.

    It is the paginationPageSize parameter.

  • User Avatar
    0
    rvanwoezik created

    Tried that but that only changes the paged rows, not the visible rows. I like to have 20 rows visiblie per page without scrolling.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry, I missunderstand you. I found this issue on angular ui-grid's github repo <a class="postlink" href="https://github.com/angular-ui/ui-grid/issues/1735">https://github.com/angular-ui/ui-grid/issues/1735</a>.

    minRowsToShow property is suggested for your requirement but I didn't try this. Can you give it a try ? It is mentioned here <a class="postlink" href="http://ui-grid.info/docs/#/tutorial/108_hidden_grids">http://ui-grid.info/docs/#/tutorial/108_hidden_grids</a>.

    Thanks.