[TIMOB-20031] MobileWeb: TableView issue Mobile Web on 4.0.0.GA
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2017-06-26T23:04:57.000+0000 |
| Affected Version/s | Release 5.0.2 |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | Community |
| Reporter | Flavio Lacerda |
| Assignee | Praveen Innamuri |
| Created | 2015-06-12T12:38:01.000+0000 |
| Updated | 2017-08-24T20:48:21.000+0000 |
Description
You cannot append a row on TableView using mobileweb.
Example:
var win = Ti.UI.createWindow({
backgroundColor:'white',
});
var tv = Ti.UI.createTableView({
top : 0,
left : 0,
width : Ti.UI.FILL,
height : Ti.UI.FILL,
headerTitle:"Hello"
});
var row = Ti.UI.createTableViewRow({
title : 'List Content Appended'
});
tv.appendRow(row);
win.add(tv);
win.open();
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2015-11-19 at 11.37.14 AM.png | 2015-11-19T05:47:17.000+0000 | 40470 |
Hello, This is a valid bug, Table view "appendRow" does not work in Mobile Web platform. For Android and iOS it's working fine. Sample code
Tested with SDK 5.0.2.GA, 5.1.0.v20151023172822. Thanks.var win = Ti.UI.createWindow({ backgroundColor : 'white' }); var table = Ti.UI.createTableView({ objName : 'table' }); var row = Ti.UI.createTableViewRow({ title : 'row', color : 'red', height : 100 }); table.appendRow(row); win.add(table); win.open();Mobile Web has been deprecated and will be removed in fixVersion 7.0.0.