[TIMOB-6195] Labels not included when creating TableView rows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-01-09T19:31:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | mobileweb, |
Reporter | Tony Lukasavage |
Assignee | Chris Barber |
Created | 2011-11-15T12:16:09.000+0000 |
Updated | 2020-01-09T19:31:09.000+0000 |
Description
When attempting to create a table view, unless you call createLabel() somewhere in your code, you'll get an error that Ti.UI.Label is not a constructor. This is with the mobile web sdk 1.7.2 beta 1 available on the wiki: http://wiki.appcelerator.org/display/guides/Mobile+Web
var win = Ti.UI.createWindow();
Ti.UI.backgroundColor = '#800';
//var label = Ti.UI.createLabel({
// text: 'hi there'
//});
var tv = Ti.UI.createTableView({
rowHeight: 60,
data: [
{ title: 'sdfsfsd' },
{ title: 'sdflsdhfksjhfkjshfkj' }
]
});
win.add(tv);
win.open();
Uncommenting the label code above causes the app to work just fine.
It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.