Titanium Community Questions & Answer Archive

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

Styling TableViewSection


I am trying to style my tableviewsection with a backgroundimage, color. But it doesn't work.

does anyone have an example of how i should style my tableviewsection?

Found a working solution!
Created a way to make this work, see the code part on pastie:


— asked November 16th 2010 by Jeroen van Gijzel
  • backgroundimage
  • style
  • table
  • tableviewsection
1 Comment
  • can you post you code?

    — commented November 16th 2010 by Aaron Saunders

2 Answers

  • Jeroen

    You haven't stated your mobile platform. It's worth mentioning it whenever you post a question, because it can make a different to the answer you receive.

    I have tried this on android and it doesn't appear to be implemented yet. I think ticket #830 is the one to watch.

    — answered November 16th 2010 by Paul Dowsett
    • Hello,

      I'm developing on the mobile platform SDK 1.2.1

      I found another way to make it work. Just put a view in the tablesection, in de view i put a label. In this way it gives the expected result on iPhone and Android. For the ones interested ive posted the code part on the link under here, hope it helps somebody.


      — commented November 17th 2010 by Jeroen van Gijzel
    • Nice, Jeroen - I'm glad you got it sorted :)

      — commented November 17th 2010 by Paul Dowsett
  • When will styling be working as expected ?

    — answered January 26th 2011 by Paul Krefta
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.