[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID (resolved)

2008-02-12 Thread mr_j_harris
Hi all, thanks for all your attention and suggestions. Sorry to say, some of them were a bit loopy: for example, the wholesale substitution of a 'cloned' dataProvider. I had the help of a highly skilled Flex developer who is also is a group member here, and he provided the proper stuff. In

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID (resolved)

2008-02-12 Thread mr_j_harris
@yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID (resolved) Hi all, thanks for all your attention and suggestions. Sorry to say, some of them were a bit loopy: for example, the wholesale substitution of a 'cloned' dataProvider. I had the help

RE: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID (resolved)

2008-02-12 Thread Gordon Smith
: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID (resolved) Hi all, thanks for all your attention and suggestions. Sorry to say, some of them were a bit loopy: for example, the wholesale substitution of a 'cloned' dataProvider. I had the help of a highly skilled Flex developer who

Re: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-12 Thread Tom Chiverton
On Tuesday 12 Feb 2008, mr_j_harris wrote: well not so fast, mx:columns is not recognized after I swap mx:DataGrid for utilities:ADDataGrid Is ADDataGrid a sub class of DataGrid ? And you mean you can't use mx:Columns in MXML when using the sub class ? Try utilities:columns instead. -- Tom

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-12 Thread simonjpalmer
I do similar computational updates of datagrid and it works fine, I never explicitly update the grid, just the data behind it and I rely on databinding to invalidate the grid. I tend to make sure that the fields I bind to are in plain view of the binding, so no getters or properties of

Re: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Sherif Abdou
From: mr_j_harris [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 11, 2008 3:58:02 PM Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Hi Sharif, and thanks, I tried that, it provides the same results as I'm used to, which is a 95% refreshment

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Dominic Pazula
Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null the DataGrid dataProvider and then set the dataProvider to the new ArrayCollection. --- In flexcoders@yahoogroups.com, mr_j_harris [EMAIL PROTECTED] wrote: Hi Sharif, and thanks, I tried that,

RE: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Gordon Smith
Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mr_j_harris Sent: Monday, February 11, 2008 1:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Hi Sharif, and thanks, I

RE: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Tracy Spratt
Sent: Monday, February 11, 2008 5:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null the DataGrid dataProvider and then set the dataProvider to the new

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread mr_j_harris
Hi Sharif, and thanks, I tried that, it provides the same results as I'm used to, which is a 95% refreshment of the on-screen visual aspect of the DataGrid. Does it force a redraw of all updated cells on my DataGrid... answer is NO. Do I need a redraw of all updated cells on my DataGrid...

Re: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Sherif Abdou
you can also try and dispatch an event of but i have yet to test it itemRendererChanged - Original Message From: mr_j_harris [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 11, 2008 3:58:02 PM Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Hi

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread mr_j_harris
Thanks Dominic, I tried that, out of desperation (it doesn't seem so efficient) and it erupted in the famous TypeError#1009 (null object somewhere) Why is this so hard? I know the coordinates on the grid where I need the new values printed to screen. Why can't I invoke function like this:

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread mr_j_harris
wahtever u want with it - Original Message From: mr_j_harris [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 11, 2008 3:58:02 PM Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Hi Sharif, and thanks, I tried that, it provides the same

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Dominic Pazula
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Pazula Sent: Monday, February 11, 2008 5:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread mr_j_harris
@yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null the DataGrid dataProvider and then set the dataProvider to the new ArrayCollection. --- In flexcoders@yahoogroups.com

RE: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread Alex Harui
%40yahoogroups.com Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Try setting a new ArrayCollection with all the values from the changed ArrayCollection. Null the DataGrid dataProvider and then set the dataProvider to the new ArrayCollection. --- In flexcoders@yahoogroups.com

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-11 Thread andrii_olefirenko
You could try this dataGrid.dataProvider.refresh(); //where dataGrid is object of DataGrid class Regards, Andrii --- In flexcoders@yahoogroups.com, mr_j_harris [EMAIL PROTECTED] wrote: I need to force a redraw of a datagrid. Adobe's or whoever's Cleverness is not working for me. I