Login Register

problems with refresh

Hello,

I have got a following problem:
I have a grid showing a shopping cart (stored on the server side, fetched with a custom write store from the server over DWR). When I put something to the cart using other controls, I want my grid to make a refresh. However, nothing happens! Not a single call to a data model. If I refresh the entire page with a browser button, the new stuff is showing...

My code looks like:

myShoppingCart.put(new order);
dijit.byId("shoppingCartGrid").update();

Instead of update I also tried render() and refresh()

It is a large blocker (I have to show this feature tonight to a customer) and I would really appreciate fast help!

Updating the grid, model, store

It seems to be spelled out only on the Dijit forum: THE SEARCH FEATURE IS YOUR FRIEND. There are several threads about the subject, for example: Refresh grid when underlying data on server changes and Refreshing grid, model, datastore ... ?. How to do it exactly depends on whether you're using a store or not, if yes, what store, etc...