Right now, the only way I see to specify column grid width is to add a width property to column definition like:
columnDefs: any[] = [
{
headerName: 'ID',
field: 'id',
width: 50,
type: 'numericColumn'
}
];
But as we can see in the following example, the column of the grid is not taking the full width of screen display.
https://stackblitz.com/edit/ag-grid-bss-test-nnojxg?file=app%2Fapp.component.ts
I want to be able to set the width in percentage for each column but I'm not able to find how to do this.
Using width: 10%
is not working.
Is there any workaround for this ?