hello,
i have a listgrid that takes the data from a php file like this:
isc.ListGrid.create({
.........,
data: [ <?php include("deleteUser_js.php"); ?> ]
});
i have a button that add a new user and it sends to a database via a php file, and a button that deletes the users that i choose, also delete it from the database via php file.
the problem is:
- i add a new user (it works ok)
- i push the Delete button, and it opens a window with a listgrid inside containing the users, the new user added before is not in the listgrid.
only if i push refresh on the whole application it apears in the delete listgrid.
so…how can i do refresh to the listgrid?..
i read somewhere something about Timer.setTimeout… where to put it and how to use it?..
thank you