{ "id": "113607", "key": "TIMOB-13740", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-04-30T21:48:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "reprod" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:50.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When adding a SearchBar to a styled TableView, the search functionality fails to inherit the styles of the parent TableView for the results.\r\n\r\n{code:javascript}\r\n// app.js\r\n\r\n// Generate some rows of data\r\nvar data = [];\r\nfor (var i = 0; i < 100; i++) {\r\n\tvar tableViewRow = Ti.UI.createTableViewRow({\r\n\t\ttitle: i.toString(),\r\n\t\tbackgroundColor: 'red'\r\n\t});\r\n\tdata.push(tableViewRow);\r\n}\r\n\r\n// Create a SearchBar\r\nvar searchBar = Ti.UI.createSearchBar();\r\n\r\n// Create a styled TableView\r\nvar tableView = Ti.UI.createTableView({\r\n\tdata: data,\r\n\tsearch: searchBar,\r\n\tbackgroundColor: 'blue',\r\n\tseparatorColor: 'green'\r\n});\r\n\r\n// Create a window\r\nvar win = Ti.UI.createWindow();\r\nwin.add(tableView);\r\nwin.open();\r\n{code}\r\n\r\nAs you can see the TableView styles are not being carried forward to the search results view. There seems to be no way to change the search result TableView styles.", "attachment": [ { "id": "37948", "filename": "1.png", "author": { "name": "masonhugus", "key": "masonhugus", "displayName": "Mason Hugus", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-30T21:48:00.000+0000", "size": 101044, "mimeType": "image/png" }, { "id": "37949", "filename": "2.png", "author": { "name": "masonhugus", "key": "masonhugus", "displayName": "Mason Hugus", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-30T21:48:00.000+0000", "size": 104239, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableView search result view does not inherit styles", "creator": { "name": "masonhugus", "key": "masonhugus", "displayName": "Mason Hugus", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "masonhugus", "key": "masonhugus", "displayName": "Mason Hugus", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.7.5, Titanium SDK 3.1.0.GA, CLI version 3.1.0", "comment": { "comments": [ { "id": "249850", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and latest 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-01T23:23:53.000+0000", "updated": "2013-05-01T23:23:53.000+0000" }, { "id": "422417", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T22:15:17.000+0000", "updated": "2017-06-20T22:15:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }