Well, it's not the column width you need to adjust - it's the width of the entire datagrid. Capture the measured width and then adjust it so there is only 31 pixels left for the last column to occupy. I don't claim it to be easy, but it may be possible.
--- In flexcoders@yahoogroups.com, Nick Middleweek <n...@...> wrote: > > Thanks for your reply on this, I'll check out those posts... > > I'll try adjusting the width as well - thanks... In general, can I just set > measuredWidth of the column to a new value? > > or is that a read only property? > > > Thanks, > nick > > > > 2009/10/14 valdhor <valdhorli...@...> > > > > > > > No. From my understanding, this is a restriction of the data grid. Once the > > datagrid is measured any remaining space is allocated to the last column. > > > > More info can be gleaned from one of Alex's posts at > > http://tech.groups.yahoo.com/group/flexcoders/message/141826 > > > > Just thinking about it, one possible way to achieve this may be to check > > the measured width and then adjust it so there is only 31 pixels available > > to the last column. I haven't done this so don't know how to do it. > > > > >