PDA

View Full Version : [2.0 Trunk] PagingToolBar reload icon does not disable correctly



jbaxter
11 Mar 2009, 6:50 AM
Disabling a PagingToolBar replaces the refresh button icon with the animated loading gif, ie:

images/default/grid/refresh.gif

is replaced with:

images/default/grid/loading.gif

This is only correct if the PagingToolBar is disabled because it is loading (eg via the BeforeLoad event). It is not correct if the PagingToolBar is simply disabled because there is no data displayed.

refresh,gif probably needs its own diabled version refresh-disabled.gif like the other PagingToolBar buttons have which is displayed when the PagingToolBar is disabled. loading.gif should only be displayed if the PagingToolBar is waiting for a load to finish.

sven
11 Mar 2009, 1:35 PM
Fixed in SVN.

jbaxter
12 Mar 2009, 12:11 PM
thanks

staffan
9 Nov 2009, 6:03 AM
Hi!

I have a simular problem: If RPC fails for my pagable grid I want to 'manually' enable my PageingToolBar. I do this by calling toolbar.enable(), the problem is that the loading.gif icon stays.

Maybe the icon shall be changed to refresh.gif whener the toolbar gets enabled? Or is there a simple way to manually shift the icons?

-Staffan