[flexcoders] Re: DataGrid doesn't always show new columns when dataprovider is updated

2007-04-10 Thread eughuang
> wrote: > > Are you re-assigning the columns array to the columns property? > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of eughuang > Sent: Tuesday, April 10, 2007 3:35 PM >

[flexcoders] DataGrid doesn't always show new columns when dataprovider is updated

2007-04-10 Thread eughuang
I ran into some difficulty using DataGrid, but it's a bit tricky to describe. Steps to reproduce: 1. create a DataGrid using a dataprovider (databinding to an ArrayCollection). 2. obtain the DataGrid.columns, modify, and set it back again. 3. update my dataprovider's data, by adding more columns.