Resetting a datagrid in ExtJs -


I have a button with the task listener in the ExtJs data grid. I have a toolbar with this reset button. I have no form. So what is the code that will reset the data grid on click? I can reset it by clicking the button while refreshing the page, but it will be smoothed to reset it again, since there is no reload in all, except that the user has chosen the settings selected. Will go

Many thanks in advance.

You can reload the grid's store:

  Grid.getStore () Reload ();  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -