{ "id": "154399", "key": "TIMOB-20262", "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": "2016-01-19T09:30:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "javascript" ], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:28.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I want to mark a row of a table as selected using a border. Given that the border does not work at all if it is set in the tableViewRow, I tried it using an inner view.\r\n\r\nIf I try to modify the color of the view border without setting first in the constructor, an exception is thrown.\r\n\r\n\r\n{code:java}\r\nvar table = Ti.UI.createTableView({id:\"table\", top:10, width:Ti.UI.FILL, height:Ti.UI.SIZE, backgroundColor: Config.BACKGROUND_COLOR_LIST, scrollable:true, separatorColor:\"white\", title: {font:{fontWeight:'bold'}}});\r\n\tvar row = Ti.UI.createTableViewRow({id: Math.random(), width:Ti.UI.FILL, height:Ti.UI.SIZE, layout: \"horizontal\", backgroundFocusedColor: Config.MAIN_COLOR, chosen:false});\r\n var borderView=Ti.UI.createView({width:Ti.UI.SIZE, height:Ti.UI.SIZE, layout: \"horizontal\", /*borderColor:Config.BUTTON_COLOR, */borderWidth:0});\r\n var logo = Ti.UI.createImageView({width:\"20%\", height:Ti.UI.SIZE, image: '/appicon.png', defaultImage: '/appicon.png'});\r\n var content= Ti.UI.createView({width:\"80%\", height:Ti.UI.SIZE});\r\n\t\t\t\t...\r\n\t\t\t\t...\r\n\t\t\t\t...\r\nrow.addEventListener(\"click\", rowClickEvent(row.id));\r\n\r\n\r\nfunction rowClickEvent(rowId)\r\n{\r\n return function()\r\n {\r\n var dataRows = table.data[0].rows;\r\n \r\n for(i=0;i