Have you tried AdvancedDataGrid.invalidateList() after you set the data?

hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



reflexactions wrote:

I am having an issue with the ADG.

I have it set up and I load data into it say with 1 row and it
displays fine ok...

Then I load some data into it that is 0 length.

The grid clears of data, again display fine ....

Now I load some data in this time with say 1 row again.
Nothing displays!!

Load anything you like it wont display once it has been given 0
length data.

Now the really really odd things, use the mouse to strecth any
column, and bingo the data displays.

Now what I have seen is whilst the data "wont display" during the
updateProprties the collection property shows length 0, the
hierarchicalCollectionView gets set with the sourceModel which has
length 1 but still the collection/hierarchicalCollectionView shows
length 0 .......
Then when I stretch the column, the
collection/hierarchicalCollectionView goes to null at some point and
then it is recreated and then when then the sourceModel is set it
show length 1.

Any ideas on how to fix this?

Reply via email to