Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Jun 2009
    Posts
    15
    Vote Rating
    0
    xLP is on a distinguished road

      0  

    Default [CLOSED][3.0rc2] GridFilter shows menu for columns without any filter

    [CLOSED][3.0rc2] GridFilter shows menu for columns without any filter


    Hi,

    - Sorry, I'm not used to reporting bugs in forums, but didn't find any bug tracker, please tell me if I do something wrong. I tried finding a similar thread but failed. -

    I'm using Ext 3 RC 2, and I'm trying the grid filter sample from Ext 2 (couldn't find in Ext 3).
    I have a grid with 4 columns, 2 have filters, 2 don't. When I popup the menu for a column which has no filter, I get a "Filter" item with empty submenu. After poping menu on a column which has a filter, if a re-popup on a column without filter, I'll get the same filter as for the previous columns.

    I'm not a javascript expert so I fixed it the easiest I could, it may not be so good, please tell me if so.

    In GridFilters.js, onMenu (line 153-154 for me) :
    this.menu.setVisible(filter !== undefined && filter !== null);
    this.sep.setVisible(filter !== undefined && filter !== null);

    => I've added this "&& filter !== null", because as a matter of fact, at execution time, filter === null for columns without filter. This now works fine. I hope this helps improving this great framework!

    Best regards
    Last edited by mystix; 21 Jun 2009 at 5:40 PM. Reason: moved to 3.x Bugs from 2.x Bugs

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    i've moved your thread from the 2.x Bugs forum to the 3.x Bugs forum.

    additionally, you should edit your initial post and add these little nuggets of information:
    http://extjs.com/forum/showthread.php?t=71015

  3. #3
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Thanks for your post. At the moment that example is not compatible with Ext 3.

    It would be helpful if you could post some code (as Mystix suggested above) that illustrates the situation so we could test against it. Probably the best would be to something like the array grid example, which has static data, and modify that similar to your situation.

  4. #4
    Ext User
    Join Date
    Jun 2009
    Posts
    15
    Vote Rating
    0
    xLP is on a distinguished road

      0  

    Default


    Ext version tested:
    • Ext 3.0 rev RC2

    Browser versions tested against:
    • FF3.0.10 (firebug 1.3.3 installed)

    Operating System:
    • WinXP Pro
    Description:
    • Sorry, can't upload I'm getting kicked constantly by the forum. Might be because I'm on a load balancer with several IPs?
    Test Case:
    Take the grid example, DO NOT RUN IT FROM "file://" (where suprisingly for me the bug doesn't appear), run it over a web browser.
    In grid-filter.js, around line 45, comment out "{type: 'date', dataIndex: 'date'},".

    Open the URL in browser, click the "date" colmn, you

    Debugging already done:
    • In GridFilter.js, in onMenu, filter appears to be equal to null.

    Possible fix:
    See last post.

  5. #5
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    GridFilter ux has been updated for 3.x and posted in svn, updating status of this thread to CLOSED.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi