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

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -