Results 1 to 4 of 4

Thread: [2.0 Trunk] PagingToolBar reload icon does not disable correctly

  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Posts
    60
    Vote Rating
    0
      0  

    Default [2.0 Trunk] PagingToolBar reload icon does not disable correctly

    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.

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    Fixed in SVN.

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Posts
    60
    Vote Rating
    0
      0  

    Default

    thanks

  4. #4
    Ext User
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    38
    Vote Rating
    0
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •