After using ui-grid in numerous projects without any issues, I recently encountered a strange issue when working with a large number of columns.
With approximately 50 columns, as I scroll from left to right in order to view the columns that are off-screen, the overall height of the grid seems to change by a few pixels. It appears that the height increases more and more as I continue scrolling to the right. My assumption is that the height changes whenever a new set of columns comes into the visible frame of the grid.
This unexpected behavior also results in my horizontal scroll bar disappearing as I scroll.
I haven't been able to find any solutions or related issues online. Has anyone else experienced this problem before? Could I possibly be configuring something incorrectly?
For reference, each column currently has a width of 120 with minimal configurations – no filters or sorting applied yet.
P.S : I'm refraining from sharing any JavaScript code as it consists mostly of a lengthy column definition at this point. Nonetheless, here is what my HTML structure looks like:
<div ng-if="rc.dataArrived" class="gridStyle" ui-grid="rc.gridOptions" ui-grid-edit ui-grid-row-edit ui-grid-cellNav ui-grid-resize-columns ui-grid-pagination style="margin-bottom:20px;margin-top:20px;width:99%;padding-bottom: 32px;"></div>