How do we clear all the items from the Grid in ExtJS? -


i not looking @ clearing store items removeall(). have paginated grid has multiple pages. want clear out , before assign new set of data , should afresh ? know of api ?

regards

extjs grids bound ext.data.store, of data comes store. if want clear contents of grid you'd have clear contents of store.

if data can loaded same store url different parameters try manually overriding them when want load fresh data...

grid.getstore().load({    params: {       newparam: value    } }); 

Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -