Jan 25, 2010, 5:32 PM
[CLOSED] [1.0] #{Store1}.removeAll() does not reset grid paging
I have a button with a listener event that I expect to clear a store and reset the pagingtoolbar on the grid:
http://www.extjs.com/forum/showthrea...gtoolbar+reset
I believe it's the same issue. It doesn't look like it's been implemented because if I try:
Is there any chance the solution could get implemented until the time that ExtJS rolls it out - or is there some other step that I am missing?
Thanks
<ext:Button ID="btnOK" runat="server" Text="Ok" Icon="MagnifierZoomIn">
<Listeners>
<Click Handler="#{Store1}.removeAll();" />
</Listeners>
</ext:Button>
The Store does clear but the pagingtoolbar is not reset. I found this in ExtJS community forum:http://www.extjs.com/forum/showthrea...gtoolbar+reset
I believe it's the same issue. It doesn't look like it's been implemented because if I try:
<ext:Button ID="btnOK" runat="server" Text="Ok" Icon="MagnifierZoomIn">
<Listeners>
<Click Handler="#{Store1}.removeAll();#{PagingToolBar1}.reset();" />
</Listeners>
</ext:Button>
it throws an error.Is there any chance the solution could get implemented until the time that ExtJS rolls it out - or is there some other step that I am missing?
Thanks