문제

I'm using 1.7.2 When I add an item to objectstore I write

dataStore.newItem(data);

Then I tried saving dataStore.save() and then dijit.byId(gridId)._refresh() But browser hangs up.

I also tried re-assigning same store again to grid after adding item. Still no success

도움이 되었습니까?

해결책

Try calling

        dijit.byId(gridId).resize()

다른 팁

Use the grid's setQuery method.

dijit.byId(gridId).setQuery(query);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top