How to update enhanced grid with new data
问题 I have an enhnaced grid connected to a JSONRest and i have it populating after the grid starts up. I'm confused as to how to update the Grid store when a new query is performed, can anyone help ? var store = new JsonRest({ target: "rest/search" }); dataStore = new ObjectStore({ objectStore: store }); /*set up layout*/ var layout = [[ {'name': 'Name', 'field': 'col1', noresize: true, 'width': '100%'}, ]]; /*create a new grid:*/ grid = new EnhancedGrid({ id: 'grid', store: dataStore, structure: