Results 1 to 3 of 3

Thread: Bundled Ext.ux.form.SearchField bugs (Fixes included)

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2010

    Default Bundled Ext.ux.form.SearchField bugs (Fixes included)


    the sample UX Ext.ux.form.SearchField contains a few bugs:

    1) The triggers aren't layouted correctly if aligned right (the space for the second trigger is empty, instead of fixed with). Reproduce this with the SearchField aligned to right in a toolbar.

    Fix: add to afterRender:
    PHP Code:
    2) The start isn't set correctly. Reproduce this with the sample, go to page 2, then search for something.

    Fix: Remove both lines with

    PHP Code:
    proxy.extraParams.start 0
    then change store.load to include the start parameter:

    PHP Code:
    store.load({ start}); 
    3) Pagination is broken

    If you applied both fixes, and jump to page 2, then search for something, the PagingToolbar doesn't notice that the page number has changed.

    I'm not sure how to fix that, but it is only a visual thing.

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2008



    instead of

    store.load({ start: 0 });
    to reset paging toolbar

  3. #3
    Touch Premium Member jeffcrilly's Avatar
    Join Date
    May 2008


    Doing ..
    ... seems to clobber the other store URL parameters pretty heavily.

    Current problem i have now is that the paging toolbar does not get updated with the "filtered" page count from the "search result set".

    E.g. with no Search specified, I get (for example) 500 rows, (pagesize = 50) and paging toolbar will (correctly) display "10 pages total".

    If I then do a search that limits the result to (for example) 100 rows, (pagesize = 50) the paging toolbar should update to "2 pages total"... however "10 pages total" is still shown (and the next/prev buttons still think there are 10 pages.)

    Interestingly, the "display info" (n of m total pages" is correct... its just the prev/next buttons and labels that are wrong.

    If anyone knows a fix, i'm all ears.



Posting Permissions

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