I'm using dojo 1.9 and gridx. The grid is initialized with memory store. But when the data have changed, I update the store but I see no changes applied to grid. It has no refresh()
method (like dgrid). However, I've found the following sequence:
grid.model.clearCache();
grid.model.setStore(store)
grid.body.refresh()
It causes the grid to display Loading...
message, but nothing more happens.
However, paginator shows the correct number of pages, only the grid container is not rendering the rows.
The example with filters /gridx/tests/test_grid_filter.html
from the gridx sources has the same problem: Loading...
message, but no data.
So the first question is, is it a bug? If it's not a bug, how should I then tell the grid that the data has changed and it should be reloaded?