Posted 20 June 2023, 9:24 pm EST
- Updated 20 June 2023, 11:31 pm EST
Thanks! It works apart from one little thing:
Apparently the first column and the first data column (marked with red arrows) is both at index 0. So when I set s.column[0].width both of them change. But I only want to set the width of the data column.
How can I tell them appart?
UPDATE UPDATE UPDATE:
I figured it out
First set the default width of all the columns. This will also change the first column, but it can be overwritten by setting width for rowHeader column
[code]loadedRows(grid:wjcGrid.FlexGrid,e:Event) {
grid.columns.defaultSize = 60;
grid.rowHeaders.columns[0].width = 90;
}[/code]
Maybe there is a cleaner solution, but this works.