PDA

View Full Version : UITableView Grouped Style Question




Pulkit
Aug 28, 2008, 05:17 AM
Hi

I am using a UITableView and its style is Grouped. By default these sections are aligned Horizontally one after another.

Is there a way to place them vertically?

Meaning, if the first section starts from Rect(0, 0, 50, 40) then next section should be placed on Rect(55, 0, 50, 40).

Or to make things simple let me put it this way... if I have two sections then my first section should be on the left hand side and second second section should be on the right hand side.

Is this possible?

Thanks,
Pulkit



Niiro13
Aug 28, 2008, 01:20 PM
You could use two tableviews...

fishkorp
Aug 28, 2008, 02:13 PM
Not without doing something custom. If you read the documentation for the tableviews it specifically states that due to the screen size there is only a single column. You can certainly create your own hybrid view that can do this though.

Pulkit
Aug 29, 2008, 01:01 AM
Not without doing something custom. If you read the documentation for the tableviews it specifically states that due to the screen size there is only a single column. You can certainly create your own hybrid view that can do this though.

Hi fishkorp,

Can you explain me further more about how can I do this using a custom view?

Thanks,
Pulkit