I am seeing something weird with ag-grid v25.1
So, when you add rowGrouping for the first time, It is showing at the left. see below:
Then just save the state (with grouping added). Now restore the state. See below Row Grouped column is moved to right.
Grid Declaration
<ag-grid-angular
#agGrid
style="width: 100%; height: 100%;"
id="myGrid"
class="ag-theme-alpine"
[columnDefs]="columnDefs"
[defaultColDef]="defaultColDef"
[sideBar]="sideBar"
[rowGroupPanelShow]="rowGroupPanelShow"
[pivotPanelShow]="pivotPanelShow"
[debug]="true"
[rowData]="rowData"
(gridReady)="onGridReady($event)"
></ag-grid-angular>
https://www.ag-grid.com/angular-grid/column-state/#save-and-apply-state
Any workaround on this or anything on how to fix it?
Plnkr for repro https://plnkr.co/edit/ja0JupIYgY8g7Pwy?preview