Oh well then change my idea to this... change all your width statements to minWidth for each column.
<s:GridColumn dataField="field1" headerText="My field 1" minWidth="50" /> <s:GridColumn dataField="field2" headerText="My field 2" minWidth="70" /> ... -Mark -----Original Message----- From: Shervin Asgari [mailto:[email protected]] Sent: Friday, February 13, 2015 8:37 AM To: [email protected] Subject: Re: Evenly distribute column width in Spark Datagrid You are not late at all. I still haven't figured this one out. I tried your suggestion. Very interesting approach. It sort of worked. Now if only the other columns would increase in width and "Evenly distribute the space the last column takes", then this would certainly be an alternative. Thank you for the idea! Here is a screenshot of how it works http://imgur.com/bXDrCNr Shervin 2015-02-12 16:30 GMT+01:00 Kessler CTR Mark J <[email protected]>: > I know I'm late to this. But could you try a dummy column on the end that > has no header text. This would be the last column in your list... it would > simply add an empty column that take up the remaining space in a uniformed > fashion. > > <s:GridColumn dataField="fieldthatdoesnotexist" headerText="" /> > > > > -Mark >
