Grid in a Grid (Friends of AW) with Ajax
I'm using the example grid in a grid example from www.friendsofaw.com.
I want to use ajax, so when you click on the + to expand the row, use ajax to call the server and retrieve the list and populate the grid in the row.
When I use xmlHttp.open("GET", url,false); it works good in IE because when u set it to false it waits till all the data is sent before continuing.
The problem is that it doesn't work in firefox ( the false ) and only works as xmlHttp.open("GET", url,true);
When I set this to xmlHttp.open("GET", url,true); my xmlHttp.readyState is only 2 or 3 in the callbackback method (not all data is sent) and when I expand the row I don't get any of the data.
Does anyone have any ideas how to handle this. The only think i can think is check the browser type and if IE set the open to false and in Firefox call settimeout to refresh the grid every .5 seconds after the row has been expanded.
Any help would be greatly appreciated.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.