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
    Aug 2012
    Posts
    3
    Vote Rating
    0
    glucks is on a distinguished road

      0  

    Default Unanswered: Text Field in the header of a column

    Unanswered: Text Field in the header of a column


    Hi,

    Is it possible to add a textfield (xtype:'textfield') to the header of a Ext.grid.Panel? Basically what I need is a 2 row column header where 1 row has the label and 1 row has a text field (order is not important). When the label is clicked the column should be sorted but when the textfield is clicked it shouldn't.

    I tried the following but I'm getting this error: "headers[i].setSortState is not a function"

    Code:
        var grid = Ext.create('Ext.grid.Panel', {
            store: store,
            columns: 
            [{
               layout: 'form',
               items:[
                         {
                            xtype: 'textfield',
                            fieldLabel: '<b>Test Label',
                            name:"name_field",
                            width:230
                    }]
            
               
              }
            ],
            height: 350,
            width: 600,
            title: 'Names',
            renderTo: 'data-table',
            viewConfig: {
                stripeRows: true
            }
            
        });

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    HI!

    have a look on this:-
    http://www.sencha.com/forum/showthre...lterBar-plugin
    http://www.sencha.com/forum/showthre...Header-Filters

    Both above plugins used filter in grid header.check out the codes.
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2012
    Posts
    3
    Vote Rating
    0
    glucks is on a distinguished road

      0  

    Default


    Thank you, that is what I was looking for. I tweaked the FilterBar plugin not to do any filtering and I also changed it so that all date columns have 2 date fields, for date range

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2013
    Posts
    1
    Vote Rating
    0
    asergeychik is on a distinguished road

      0  

    Default


    Hello, glucks

    Could you please share that date range filter tweak for FilterBar plugin if possible?

    Thank you in advance,
    Anna.

Thread Participants: 2