Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2826] TableView should be able to know it's own height

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2011-12-28T06:02:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios, tableview
ReporterSergej Kotliar
AssigneeMauro Parra-Miranda
Created2011-11-04T05:32:58.000+0000
Updated2016-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.

Comments

  1. Paul Dowsett 2011-12-28

    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
  2. Mauro Parra-Miranda 2013-11-24

    DUP issue.

JSON Source