{ "id": "63544", "key": "TIMOB-2912", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13408", "description": "Sprint 2012-12 API", "name": "Sprint 2012-12 API", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-04T23:13:14.000+0000", "created": "2011-04-15T03:32:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_tableviewrow", "qe-testadded", "regression" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17660", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "92848", "key": "TIMOB-9400", "fields": { "summary": "iOS: Children are not removed from parents view hierarchy when context is shutdown", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21922", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103146", "key": "TIMOB-11390", "fields": { "summary": "Android: TableViewRow - Missing tableViewRow data", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-11T18:39:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Hi,
\r\nI have this problem on iphone simulator and latest development\r\nenvironment.
\r\nI have a window with a tableview (with custom tableViewRows) and a\r\nclose button in the bottom.
\r\nWhen I first open the window everything shows up, but when I close\r\nthe window and then open it again the content of the tableView\r\ndisappear. I have the tableview with the lines row separators but\r\nwith nothing is showing in the tableviewrows.
\r\nhere is how I build the app.js you can test:
\r\nTitanium.UI.setBackgroundColor('#333');\r\n\r\nvar page2 = Titanium.UI.createWindow({ \r\n title:'page2',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar data = [];\r\n\r\nvar listTable = Titanium.UI.createTableView({});\r\n\r\nfor(var indice=0; indice<15; indice++) {\r\n\r\n var row = Titanium.UI.createTableViewRow();\r\n\r\n var img = Titanium.UI.createImageView({\r\n image:'KS_nav_ui.png',\r\n width:50,\r\n height:50,\r\n left:0,\r\n top:0\r\n });\r\n\r\n var label = Titanium.UI.createLabel({\r\n text:indice,\r\n font:{fontSize:14},\r\n textAlign:'center',\r\n borderColor:'black'\r\n });\r\n\r\n row.add(img);\r\n row.add(label);\r\n \r\n row.hasChild=false;\r\n row.height = 50;\r\n row.className = 'list';\r\n \r\n data.push(row);\r\n}\r\n\r\nlistTable.bottom = 50;\r\n\r\nlistTable.setData(data);\r\n \r\npage2.add(listTable);\r\n\r\nvar b2 = Titanium.UI.createButton({\r\n title:'CLOSE',\r\n bottom:5,\r\n height:40\r\n});\r\n\r\npage2.add(b2);\r\n\r\nb2.addEventListener('click',function()\r\n{\r\n page2.close();\r\n});\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'win',\r\n backgroundColor:'#555'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title:'OPEN'\r\n});\r\n\r\nbutton.addEventListener('click',function()\r\n {\r\n page2.open();\r\n });\r\n \r\nwin.add(button);\r\n\r\nwin.open();
\r\n