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

2006-10-03 Thread EECOLOR
Hello,   its not best practice to refresh the whole grid if only 1 row changed. If the data in your array consists of instances of custom classes, make sure the properties in the custom class are bindable. Bindable causes them to broadcast an event if an item changes, which in turn will make sur

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

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 22:12, livinginswitzerland wrote: > redraw to occur programatically. grid.dataprovider.refresh(); or maybe t=grid.dataprovider; grid.dataprovider=t; ? -- Tom Chiverton Helping to widespreadedly establish distributed e-commerce *

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

2006-10-02 Thread livinginswitzerland
I have a datagrid with many rows, in the change event of the datagrid, I copy data from the selectedItem to individual controls on the page. In the change event of these controls, I copy the values back into the dataprovider of the datagrid, which is a collection, but the diplayed data in the