0
votes

I am using ag grid in my Angular app and it was working fine. My grid has full width on all screen means no horizontal scrollbar in it. The issue have notice recently is when user double click on shrinked column border it expand the column to full width but it also increase the width of grid.

  1. Everytime user double click it increase the grid width that means it should call gridSizeChanged but it never call that function.

  2. It increase the grid width and at some point last columns goes behind the screenenter image description here

I think if it call gridSizeChanged then grid will remian inside screen width and never goes behind the screen.

1
Well, it's hard to help without the code - AdamKniec

1 Answers

0
votes

I can not see the code but You could try with gridOptions.api.sizeColumnsToFit();