[AC-2826] TableView should be able to know it's own height
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-12-28T06:02:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, tableview |
Reporter | Sergej Kotliar |
Assignee | Mauro Parra-Miranda |
Created | 2011-11-04T05:32:58.000+0000 |
Updated | 2016-03-08T07:47:45.000+0000 |
Description
A tableview without height set will not display.
It would be reasonable for a tableview to calculate it's own height by adding the sum of all of the rows. That's the workaround we're doing now in Javascript, and it's suboptimal and hard to style.
Sergej The tableview size property should provide this, although it is only available after the table has been renders. Please see TIMOB-5303, which will address this issue for all views. Cheers
DUP issue.