1. #1
    Ext User
    Join Date
    May 2008
    Posts
    97
    Vote Rating
    0
    jraue is on a distinguished road

      0  

    Default Mixed TableColumn alignment header/body

    Mixed TableColumn alignment header/body


    Hi,

    is there an elegant way to change the horizontal alignment within a TableColumn, e.g. to have the column header center-aligned and the values left-aligned? TableColumn.setAlignment would affect both.

    Thanks,

    Joachim

  2. #2
    Ext User
    Join Date
    Nov 2008
    Posts
    75
    Vote Rating
    0
    jmhwhite2001 is on a distinguished road

      0  

    Default Yes, but there's a problem...

    Yes, but there's a problem...


    I'm actually trying to investigate other ways, but you can do this:

    When creating the column config for a column, make the name something like:

    <p align=\"center\">Your Text</p>

    Now, you can have a left-justified text, but have header centered.

  3. #3
    Ext User
    Join Date
    Nov 2008
    Posts
    75
    Vote Rating
    0
    jmhwhite2001 is on a distinguished road

      0  

    Default


    There actually is no problem, I misspoke.

  4. #4
    Ext User
    Join Date
    Nov 2008
    Posts
    75
    Vote Rating
    0
    jmhwhite2001 is on a distinguished road

      0  

Thread Participants: 1