1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    38
    Vote Rating
    0
    maxritti is on a distinguished road

      0  

    Default Change columnHeader from a grid

    Change columnHeader from a grid


    Hi,

    how can i change the header label from a column in my grid?
    I tried with grid.getColumnModel but this is not defined.

    And with

    Code:
    Ext.MessageBox.alert('Header', grid.columns[3].text)
    i see the header label but with

    Code:
    grid.columns[3].text = 'new label
    the label does not change.

  2. #2
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    151
    Vote Rating
    9
    ZachG will become famous soon enough

      0  

    Default


    ExtJS doesn't monitor properties like that for changes. If you want to change properties, you need to use methods like setText()​.

  3. #3
    Sencha User
    Join Date
    Dec 2007
    Posts
    38
    Vote Rating
    0
    maxritti is on a distinguished road

      0  

    Default


    Thank you. Thats works

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar