Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20031] MobileWeb: TableView issue Mobile Web on 4.0.0.GA

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T23:04:57.000+0000
Affected Version/sRelease 5.0.2
Fix Version/sn/a
ComponentsMobileWeb
LabelsCommunity
ReporterFlavio Lacerda
AssigneePraveen Innamuri
Created2015-06-12T12:38:01.000+0000
Updated2017-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

FileDateSize
Screen Shot 2015-11-19 at 11.37.14 AM.png2015-11-19T05:47:17.000+000040470

Comments

  1. Sharif AbuDarda 2015-11-19

    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
       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();
       
    Tested with SDK 5.0.2.GA, 5.1.0.v20151023172822. Thanks.
  2. Lee Morris 2017-08-24

    Mobile Web has been deprecated and will be removed in fixVersion 7.0.0.

JSON Source