[Laszlo-user] Asynchronous mess with datasets.

Paulo Scardine paulo at scardine.com.br
Mon Jul 21 13:46:59 PDT 2008


Hi all,

I have a form with a grid on it. This grid has a dataset pointing to a 
PHP script, lets call it grid_dataset. When the user clicks on the edit 
and new buttons, there is a pop-up window with a second dataset I use 
for updates/inserts, lets call it update_dataset.

The data is being inserted/edited ok on the database, but the 
grid_dataset.doRequest() I fire just befor I hide the insert/edit window 
seems to be finishing before update_dataset.doRequest(), and the grid is 
not showing the updated/inserted values.

What should I do to ensure grid_dataset.doRequest() will fire after 
update_dataset.doRequest()? Should I use other approach?

Thanks in advance,
--
Paulo


More information about the Laszlo-user mailing list