flex datagrid re-assign dataprovider

Posted by gauravgr8 on Stack Overflow See other posts from Stack Overflow or by gauravgr8
Published on 2010-05-11T14:00:26Z Indexed on 2010/05/11 14:04 UTC
Read the original article Hit count: 380

Filed under:
|
|

Hi,

I am working on a datagrid with custom itemRenderer & [Bindable]xmllist as dataprovider. Now the changes done in xmllist are not reflected on datagrid UI until unless I re-assign the dataprovider as the same xmllist.

As the dataprovider is Bindable so re-assigning is not required.

But it was not working so I re-assigned the xmllist to the dataprovider of datagrid. It worked.

Now my problem is when I re-assign the dataprovider my datagrid flicker(refreshes). It should not happen.

1) Is there any way out to avoid re-assigning of dataprovider?

2) Is there any way to stop flickering of datagrid on re-assigning the dataprovider?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about flex3

Related posts about actionscript-3