ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Wrong grid height when setting less than "10" in paginationPageSize

Open NoelBroda opened this issue 10 years ago • 1 comments

Step to reproduce it:

  • Open misc/demo/grid-accessiblility.html
  • Change those two values: paginationPageSizes: [5], paginationPageSize: 5 in gridOptions
  • Go to your browser and see the new look and feel. You should see something like the screenshot (tested in Firefox and Chrome over a Mac)
screen shot 2016-05-05 at 4 26 51 pm

NoelBroda avatar May 05 '16 19:05 NoelBroda

They havent designed the grid to change the grid size dynamically, you may have to apply youre own logic like height = (rowLength*30)+80; $('#grid1').css('height', height + 'px');

where rowLength is number of visible rows and 80 is approx calculated height with filters + headers

angular-git-user avatar May 18 '16 06:05 angular-git-user