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?
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?
-
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.
-
Yes, you need to make a reference of the data array if you need to make operations on it.
-
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?