I think the choice really depends on the usage of your application. If
the known list of state combinations is pre-determined I usually do this
type of thing using view states.
As an example, if I have a component that has 4 grids in a VBox and the
known states are
State 1: 1 and 2 visible,
Subject: Re: [flexcoders] View States Vs using the visible flag with
multiple UI components..
I think the choice really depends on the usage of your application. If
the known list of state combinations is pre-determined I usually do this
type of thing using view states.
As an example, if I have
I think if you wanted to reuse a single DataGrid and states, you would have
to keep multiple Arrays representing the columns each DataGrid needed, and
in your states set the columns property of the DataGrid to the appropriate
Array of columns, and then set the dataProvider to the appropriate
3 matches
Mail list logo