Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
I'm bumping this post because I am really needing an answer ASAP. At this point I'm just hoping my boss doesn't notice. ANY help will be appreciated. -- View this message in context: http://old.nabble.com/Problem-sorting-advancedDataGrid-after-dataprovider-updated-tp26326531p26374637.html Sent

Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
valdhor-3 wrote: Could you post some sample data arrays. It's not too easy to try out your code without it. Sure here's some for the first two httpServices I'm running. The third isn't necesary since that code isn't called untill after this problem presents itself.

Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
My app isn't crashing at this point, maybe it's a difference of which SDK we are running, or more likely some specific issue of environment, but when I click another tab it runs the HTTPService and repopulates the Grid. It's only after that repopulation that I loose the ability to sort the data.

Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
Ok, we are running the same SDK. Lets try to explore what you are identifying. Please forgive me as I am pretty new to FLEX and AS. gc is the id of a GroupingCollection of a dataProvider. refresh() is a built-in public method to GroupingCollections. How can that be a problem unless it's a bug in

Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
If I remove the whole mx:dataProvider tag and add the dataProvider attribute to the mx:advancedDataGrid tag with the value of {xmllTemplates} then I can sort, change tabs and am still able to sort, so It does seem to be something about the groupingCollection. I have no idea how I would monitor

Re: [flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-16 Thread InvertedSpear
Problem Solved... I guess. I was turning my HTTPService result into an XMLList. I just switched it to an arrayCollection and I no longer loose the ability to sort when I refresh the data. Maybe there is some limitation when using an XMLList, I wish I could have found out for sure, but at

[flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-13 Thread InvertedSpear
Anyone know about this? My data comes in, and I can sort just fine, I refresh my dataProvider (pulls a different query) and then I can't sort anymore, even if I go back and pull the original data again. I have been searching and searching for a post on correcting this issue but can't find one.