You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mark goldin <ma...@gmail.com> on 2015/02/18 20:44:07 UTC

Merge two ArrayCollections

I am trying to do something like this:

_columns = new ArrayCollection(_columns1.source, _columns2.source);

In order to create:

_columns [0] -> {visible: "true", name: "name1", visible: "false", name:
"name2"}

_columns1 -> {visible: "true", name: "name1"}
_columns2 -> {visible: "false", name: "name2"}

_columns will be shown in the grids.

Thanks

Re: Merge two ArrayCollections

Posted by Alex Harui <ah...@adobe.com>.
https://blogs.adobe.com/aharui/2008/03/custom_ilists_checkboxdatagrid_1.htm
l

On 2/18/15, 11:44 AM, "mark goldin" <ma...@gmail.com> wrote:

>I am trying to do something like this:
>
>_columns = new ArrayCollection(_columns1.source, _columns2.source);
>
>In order to create:
>
>_columns [0] -> {visible: "true", name: "name1", visible: "false", name:
>"name2"}
>
>_columns1 -> {visible: "true", name: "name1"}
>_columns2 -> {visible: "false", name: "name2"}
>
>_columns will be shown in the grids.
>
>Thanks