Hi All,
I am having a problem with nested Repeater controls not refreshing properly to
reflect the data that is bound to the data provider for each of the Repeater
controls. My problem is related to the following:
I have two classes, say Parent and Child which are as follows:
[Bindable]
publi
thanks. I think the ArrayCollection is the key. Using addItem
instead of push makes all the difference. It now works.
- Kevin
On Mar 24, 2007, at 6:04 PM, Jeffry Houser wrote:
I've done this with an ArrayCollections, but never with an Array.
The code would be something like this:
ogroups.com
Sent: Saturday, March 24, 2007 6:48:59 PM
Subject: Re: [flexcoders] Repeater Refresh
ArrayCollection is the path to enlightenment, yes, but a
metaphysical nudge along this path is binadability
[Bindable]
public var myArrayCollection = new ArrayCollection( myAr
You need to use something like ArrayCollection which dispatches events. Your
repeater should then pick up the changes and add the new item.
Tim
On 3/24/07, Jeffry Houser <[EMAIL PROTECTED]> wrote:
I've done this with an ArrayCollections, but never with an Array. The
code would be somethin
Right you are! IF I had tested it, I would have caught that error. ;)
At 09:48 PM 3/24/2007, you wrote:
ArrayCollection is the path to enlightenment, yes, but a
metaphysical nudge along this path is binadability
[Bindable]
public var myArrayCollection = new ArrayCollection(myArray);
DK
O
ArrayCollection is the path to enlightenment, yes, but a metaphysical nudge
along this path is binadability
[Bindable]
public var myArrayCollection = new ArrayCollection(myArray);
DK
On 3/24/07, Jeffry Houser <[EMAIL PROTECTED]> wrote:
I've done this with an ArrayCollections, but never with
I've done this with an ArrayCollections, but never with an
Array. The code would be something like this:
A few caveats...
a) I didn't test this code
b) In my situation, I wasn't adding from the same component that was
displaying things, so the 'add' and 'display were never shown
here is a little test to illustrate what I am trying to do (except it
doesn't work.) I was hoping that updating the dataProvider would add
another item to the repeater...
On Mar 24, 2007, at 5:16 PM, Kevin wrote:
I have a repeate
I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
"refresh" the repeater, but can'
9 matches
Mail list logo