[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-11 Thread bhaq1972
thanks for the clarification. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Even columns with visible=false get instantiated when declared in MXML. > > > On 10/10/11 3:36 AM, "bhaq1972" wrote: > > > > > > > Yes agreed. In our newer applications we do that. > > Just curious, i

Re: [flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-10 Thread Alex Harui
Even columns with visible=false get instantiated when declared in MXML. On 10/10/11 3:36 AM, "bhaq1972" wrote: Yes agreed. In our newer applications we do that. Just curious, if a column is defined as visible=false in mxml. That wouldn't be a memory consumption would it? --- In flexcode

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-10 Thread bhaq1972
Yes agreed. In our newer applications we do that. Just curious, if a column is defined as visible=false in mxml. That wouldn't be a memory consumption would it? --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > If that is the use case I would have built that data grid and columns on t

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-07 Thread valdhor
If that is the use case I would have built that data grid and columns on the fly in ActionScript. Why bother having columns in memory that you don't use? --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > The problem doesn't exist if the code is executed in the preintialize or > creationC

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-07 Thread bhaq1972
Thanks I feel a bit stupid now because I just realized its only affecting IE6 ...which is obviously a very out of date browser. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > I'm sure it is just a bug. Please file it. > > I would try doing it on creationComplete and follow up

Re: [flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-06 Thread Alex Harui
I’m sure it is just a bug. Please file it. I would try doing it on creationComplete and follow up with a validateNow() call. On 10/6/11 1:11 AM, "bhaq1972" wrote: The problem doesn't exist if the code is executed in the preintialize or creationComplete event. However, I didn't want to

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-06 Thread bhaq1972
The problem doesn't exist if the code is executed in the preintialize or creationComplete event. However, I didn't want to mention that because it takes the focus away from what looks like a bug in initialize. Why would one column give a runtime error and the other not? Halo datagrid doesnt have

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-05 Thread valdhor
The column probably hasn't been created yet. Try the creationcomplete event of the datagrid. --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > I get a runtime error when I set the gridcolumn.visible property during a > datagrid initialize event. There is no problem's > if its the first g