ui-grid
ui-grid copied to clipboard
Wrong grid height when setting less than "10" in paginationPageSize
Step to reproduce it:
- Open
misc/demo/grid-accessiblility.html - Change those two values:
paginationPageSizes: [5],paginationPageSize: 5ingridOptions - 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)
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