showing results for - "build an ag grid component that auto resize columns to fit container width"
Emma
27 Sep 2017
1onGridReady(params) {
2        this.gridApi = params.api;
3        this.columnApi = params.columnApi;
4        this.gridApi.sizeColumnsToFit();
5        window.onresize = () => {
6            this.gridApi.sizeColumnsToFit();
7        }
8}
similar questions