1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    Missouri
    Posts
    10
    Vote Rating
    2
    Gibolt is on a distinguished road

      1  

    Default Change grid.panel column header text

    Change grid.panel column header text


    I have a grid and I want the header of a column to change when a button is pressed. Here is the code:

    Code:
    var densityGrid = Ext.create('Ext.grid.Panel', {
       ...columns :[{
            header      : ((combobox.getValue()=='Water') ? 'Water' : 'Air') + ' Density',
            width       : 100,
            sortable    : true,
            dataIndex   : 'count'}...
    
    var densityWidgetPanel = Ext.create('widget.panel', {
          ...tbar        : [{
                 text        : 'Load',
                 handler     : function() {
                      // Change header here
            }...
    I have tried tons of different methods to try to get this working.

    Any ideas?

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    6
    Vote Rating
    0
    tribess is on a distinguished road

      0  

    Default


    no-one ?

    I'm very interested in this too !

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,590
    Vote Rating
    322
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      1  

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Posts
    6
    Vote Rating
    0
    tribess is on a distinguished road

      0  

    Default


    thanks,

    sometimes it can be that simple ...

Thread Participants: 2

Tags for this Thread

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