1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default changeable header in grid

    changeable header in grid


    Hi,
    Can any one tell me how to make only one column header changeable in a grid.
    I mean i have a grid having 5 columns but the first column header will change according to a dropdown.The 1st column header should change to the selected value of the dropdown.

    Thanks .

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,649
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can use the following to change the text of the desired column:

    grid.headerCt.getHeaderAtIndex(0).setText('New Header')
    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    India
    Posts
    87
    Vote Rating
    0
    Ronits is on a distinguished road

      0  

    Default


    Code:
    this.getGrid().columns[index].setText('New_Header_Name');
    Thanks,
    Ronz

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default


    Quote Originally Posted by Ronits View Post
    Code:
    this.getGrid().columns[index].setText('New_Header_Name');
    thanks, ronit it's working

Thread Participants: 2

Tags for this Thread

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