Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    7
    Vote Rating
    0
    Stepan Koci is on a distinguished road

      0  

    Question GridFilters: Problem with string search with space

    GridFilters: Problem with string search with space


    Hello,

    I have a problem with plugin for grid filter features. It seems to be blocked to enter more than one word. I need to be able to filter by sentences with two or more words like "RX 220". However it doesn't let me to enter space. Is it possible to set it up? How?

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,260
    Vote Rating
    79
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    Wow!

    I didn't realize that until now.

    I will check the sources and let you know.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    I'm trying to find where the code that breaks the space is and can't find it anywhere on the filters feature... Maybe is something inherent with the menu or the grid??

  4. #4
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,260
    Vote Rating
    79
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    Me too.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  5. #5
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    It has to do with the menu almost for sure. Look at this example:
    http://dev.sencha.com/deploy/ext-4.0...enu/menus.html
    There you have two combos, one inside a menu, and other directly in the toolbar, the one in the toolbar works fine.
    You also can't use SHIFT + ARROW to select the text inside the combos that are in a menu.
    Should we post this as an ext bug related to the menu??

  6. #6
    Sencha User FlaminPhoenix's Avatar
    Join Date
    May 2009
    Posts
    146
    Vote Rating
    0
    FlaminPhoenix is on a distinguished road

      0  

    Default


    Anyone found a solution for this? or.. is it reported as a bug right now? Im having the same issue now too...
    No one stands taller than the last man standing

  7. #7
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    No, couldn't find it... And there's no much activity in the forum.

  8. #8
    Sencha User
    Join Date
    Feb 2009
    Posts
    7
    Vote Rating
    1
    siltronic is on a distinguished road

      0  

    Default


    Hi,

    In fact, there is a problem with key nav.

    Space seems to be catched in the enter function ( ? ) :

    Code:
        constructor: function(menu) {
            var me = this;
    
    
            me.menu = menu;
            me.callParent([menu.el, {
                down: me.down,
                enter: me.enter,
                esc: me.escape,
                left: me.left,
                right: me.right,
                space: me.enter,
                tab: me.tab,
                up: me.up
            }]);
        },

    It's not the best solution because you lose the space bar action, but to repair it, just comment this line, in an override like this :

    Code:
    Ext.override(Ext.menu.KeyNav, {
        constructor: function(menu) {
            var me = this;
    
    
            me.menu = menu;
            me.callParent([menu.el, {
                down: me.down,
                enter: me.enter,
                esc: me.escape,
                left: me.left,
                right: me.right,
                //space: me.enter,
                tab: me.tab,
                up: me.up
            }]);
        }
    });
    and you will be able to write space in textfield inside menu (and so on your filter ).

  9. #9
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    Great!! Thank you!
    I didn't know of this KeyNav class I'll have to take a look at it.

  10. #10
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    7
    Vote Rating
    0
    Stepan Koci is on a distinguished road

      0  

    Default


    Thank you for the problem solution!