Titanium Community Questions & Answer Archive

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

difference between tableview section and group

what is the concrete difference between a tableview section and a group.

consider the following:
the tableview is filled with some rows and every row belongs to a category. i want to show the category wording in something like the row header. but labeling every rows category in the header looks horrible since every row has that header. so i looked for the groups/sections. but i want to keep the tablerow-design like it's shown without groups/sections.

did anyone have a hint for me?

— asked November 24th 2010 by dev 1605
  • group
  • header
  • section
  • tableview
  • tableviewrow
0 Comments

4 Answers

  • hi, yes it makes sense, so thanks. i just have the problem with the implementation. i want to handle the sections dynamically but there is no nice way to check for already build sections except implementing a seperate array of already build sections. you know what i mean?

    — answered November 26th 2010 by dev 1605
    permalink
    0 Comments
  • Take a look at the rounded tables in iOs. You will see what it means very clear.
    A section is a group of rows.
    It's available for normal tables too, only that the separation is not clear.
    However if you add a header to the section you will have the separation clear.

    Hope it makes sense.

    — answered November 24th 2010 by Dan Tamas
    permalink
    0 Comments
  • Yes, you need to make a reference of the data array if you need to make operations on it.

    — answered November 26th 2010 by Dan Tamas
    permalink
    0 Comments
  • hi, yes it makes sense, so thanks. i just have the problem with the implementation. i want to handle the sections dynamically but there is no nice way to check for already build sections except implementing a seperate array of already build sections. you know what i mean?

    — answered November 26th 2010 by dev 1605
    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.