1. #1
    Sencha User jota2011's Avatar
    Join Date
    Mar 2011
    Location
    Brazil, GoiĆ¢nia-GO
    Posts
    11
    Vote Rating
    0
    jota2011 is on a distinguished road

      0  

    Question [ExtDesigner + ExtJs4][Help] Grid Filter + ExtDesigner Ui

    [ExtDesigner + ExtJs4][Help] Grid Filter + ExtDesigner Ui


    Hi guys, really good how ExtJs4 and ExtDesigner are becoming really powerfull tools for a RIA development.

    But I'm here to ask for some help heheh...

    I'm huge fan of ExtDesigner, and i dont like to create things on ExtDesginer and other things on
    the implementation script...
    My problem:
    I'm trying to create a Grid with the filter plugin
    http://dev.sencha.com/deploy/ext-4.0...ter-local.html

    I'm trying to make the filters only for the 'person_id' column

    on the implementation script I create the filters var:
    Code:
    var filters = {
                ftype: 'filters',
                encode: false,
                local: true,
                filters: [{
                    type: 'numeric',
                    dataIndex: 'person_id'
                }]
            };
    
    
           var numbercolumn = Ext.ComponentQuery.query("numbercolumn");// get the numbercolumn('person_id')
            
            Ext.apply(numbercolumn, {
                filterable: true,
                filter: {
                    type: 'numeric'
                }
            });
            Ext.apply(me.Grid, {
                features: [filters]
            });
            
            me.Grid.contructor();
    App requires:

    Code:
    requires: [
    ...
    'Ext.ux.grid.FiltersFeature'
    ]
    No success result on this one =\

    Could someone help me...
    My most problem on the implementation is override ui configs,
    and i think the problem there is just that!



    Thanks \o

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,266
    Vote Rating
    80
    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


    Look at the end of this thread:

    http://www.sencha.com/forum/showthre...lly-GridFiltes

    At least works for me.

    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!

Thread Participants: 1

Tags for this Thread