[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-04 Thread livinginswitzerland
Derrick, Thanks again, and once again, you have led me to another question. I'm aware of using the bindable metatag, and also am using the binding.utils.bindProperty method to handle some other bindings I need manually, but I'm now wondering if i can do the following: Can I create an Object,

[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-04 Thread Derrick Grigg
I don't think you can add metadata like the bindable property at runtime, it has to be declared/defined in a class. Using the binding utils is a way to compensate for not having declared bindable properties. Personally I prefer to use VO's and bindable properties, overall a much cleaner

[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-03 Thread Derrick Grigg
A typed value object is basically an object that matches to some data entity you are working with. You create a class to define the entity, give it properites (that are bindable) and then put instances of that class into the ArrayCollection instead of non descript Objects ie class BookVO {

[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-02 Thread Derrick Grigg
I think you can use the 'invalidateDisplayList()' or possibly the 'invalidateList()' to refresh your datagrid. Alternatively, if you use typed value objects in the dataProvider any changes to those, should automatically be reflected (and viewed) in the DataGrid if you are using databinding.

[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-02 Thread livinginswitzerland
Thanks Derrick... I had tried invalidateDisplay list, but not invalidateList..which did it. interesting. when you say typed value objects...can you elaborate on that? I am doing some 'non standard' things, and all of my data is read into an ArrayCollection via a web service, but i'm not