{ "id": "91474", "key": "TIMOB-9015", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-07T12:40:14.000+0000", "created": "2012-05-07T09:48:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T23:38:41.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": "h4. Problem description\r\nWhen you add an event to the TableViewRow, you don't get the source of which tableviewrow was pressed. The customer wants to select/deselect a checkbox in a row, just with clicking on the row.\r\n\r\nh4. Actual Results\r\nThe event is not getting the source of the event. \r\n\r\nh4. Expected Results\r\nThe event behave the same as with 1.7.6\r\n\r\nh4. Test Case\r\n1. Create a new mobile Project\r\n2. Paste this: \r\n{code}\r\n\r\n\tvar fundListSize,fundCheckboxArray=[],fundsToPlotCount,grey=false,lightBlue=false,clickEvent=false,fundsSitemanagerMsg=null,rowCounter=0;\r\nvar win = createHistoricalFundGraphFundsWindow();\r\nwin.orientationModes = [Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT];\r\nwin.open()\r\n\r\n\t/*\r\n\t * Function to display the available funds that can be selected to display on the graph\r\n\t */\r\n\tfunction createHistoricalFundGraphFundsWindow() {\r\n\t\r\n\t\t\t/* Declaring the variables*/\r\n\t\t\tvar iOSTopTitle, planText, navTitleText, menuTitle, winLeftNavButton, winRightNavButton, winBackButtonTitle, winBackButtonTitleImage, winTabBarHidden, subHeader, tableViewDS, genericTableView, win;\r\n\t\t\tfundsSitemanagerMsg = ''//_response.historicalFundGraphFundMessage;\r\n\t\t\tfundsToPlotCount = 3;\r\n\t\t\t\r\n\r\n\t\t\t/* reset fundlistsize*/\r\n\t\t\tfundListSize = 0;\r\n\r\n\t\t\t\ttableViewDS = createHistoricalFundGraphFundsTableViewDS();\r\n\t\t\t\tgenericTableView = Titanium.UI.createTableView({\r\n\t\t\tseparatorColor:'#e7e7e7',\r\n\t\t\tdata : tableViewDS,\r\n\t\t\tbackgroundColor :'#e7e7e7'\r\n\r\n\t\t});\r\n\t\t\t\tgenericTableView.top = 0;\r\n\t\t\t\tgenericTableView.backgroundColor = '#e7e7e7';\r\n\t\t\t\ttableViewDS = null;\r\n\t\t\t\t\r\n\t\t\t\tvar menuWindow = Titanium.UI.createWindow({\r\n\t\t\t\t\tbarColor : '#929292',\r\n\t\t\t\t\tbackgroundColor : '#E7E7E7'\r\n\r\n\t\t\t\t});\r\n\t\t\t\tmenuWindow.add(genericTableView);\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\r\n\t\t\treturn menuWindow;\r\n\t};\r\n\t/* Event invoked after clicking done button if the fund does not have any data */\r\n\tTi.App.addEventListener('resetCheckBox', function(e) {\r\n\t\tfor(var i=0;i