Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

section.headerTitle Styling

Hi All,

Does anyone know whether the Section Header Title can be styled and if so how?

Kind regards

Paul Pounder

— asked September 21st 2010 by Paul Pounder
  • headertitle
  • tableview
  • tableviewsection
0 Comments

4 Answers

  • Accepted Answer

    See this thread.

    — answered September 21st 2010 by James K
    permalink
    0 Comments
  • It cannot to my knowledge.

    I believe you have to create your own custom row.

    — answered September 21st 2010 by John Welch
    permalink
    0 Comments
  • You can use the headerview
    The below code it's not 100% titanium so don't copy/paste it :) , I use a wrapper, but it should give you an idea

    var headerView = new rel('view',{
            backgroundColor:'#fff'
    }).add( new rel('label',{
        text:"Monatl. Nettoeinkommen",
        width:300,
        height:20,
        color:redc,
        backgroundColor:'#fff',
        font:{
            fontFamily:'Arial',
            fontSize:16,
            fontWeight:'bold'
        }
    }));
    
    section
    .set('headerView', headerView)
    
    — answered September 21st 2010 by Dan Tamas
    permalink
    0 Comments
  • double post

    — answered September 21st 2010 by Dan Tamas
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.