{ "id": "118244", "key": "TIMOB-14842", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-29T18:48:33.000+0000", "created": "2013-08-10T09:46:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "alphabet", "index", "tableview" ], "versions": [], "issuelinks": [ { "id": "30879", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118245", "key": "TIMOB-14841", "fields": { "summary": "Android: Index Bar for TableView", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:37.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Index Bar for MobileWeb - Same as iOS.\r\n\r\n{code:javascript} \r\nvar win = Titanium.UI.createWindow();\r\n \r\nvar data = [\r\n {title:'Alan (click to change index)', header:'A'},\r\n {title:'Alice' },\r\n {title:'Alexander'},\r\n {title:'Amos'},\r\n {title:'Alonzo'},\r\n {title:'Brad', header:'B'},\r\n {title:'Brent'},\r\n {title:'Billy'},\r\n {title:'Brenda'},\r\n {title:'Callie', header:'C'},\r\n {title:'Cassie'},\r\n {title:'Chris'},\r\n {title:'Cameron'},\r\n {title:'Don', header:'D'},\r\n {title:'Dilbert'},\r\n {title:'Deacon'},\r\n {title:'Devin'},\r\n {title:'Darin'},\r\n {title:'Darcy'},\r\n {title:'Erin', header:'E'},\r\n {title:'Erica'},\r\n {title:'Elvin'},\r\n {title:'Edrick'},\r\n {title:'Frank', header:'F'},\r\n {title:'Fred'},\r\n {title:'Fran'},\r\n {title:'Felicity'},\r\n {title:'George', header:'G'},\r\n {title:'Gina'},\r\n {title:'Gary'},\r\n {title:'Herbert', header:'H'},\r\n {title:'Henry'},\r\n {title:'Harold'},\r\n {title:'Ignatius', header:'I'},\r\n {title:'Irving'},\r\n {title:'Ivan'},\r\n {title:'Dr. J', header:'J'},\r\n {title:'Jefferson'},\r\n {title:'Jenkins'},\r\n {title:'Judy'},\r\n {title:'Julie'},\r\n {title:'Kristy', header:'K'},\r\n {title:'Krusty the Clown'},\r\n {title:'Klaus'},\r\n {title:'Larry', header:'L'},\r\n {title:'Leon'},\r\n {title:'Lucy'},\r\n {title:'Ludwig'},\r\n {title:'Mary', header:'M'},\r\n {title:'Mervin'},\r\n {title:'Malcom'},\r\n {title:'Mellon'},\r\n {title:'Ned', header:'N'},\r\n {title:'Nervous Eddie'},\r\n {title:'Nelson'},\r\n {title:'The Big O', header:'O'},\r\n {title:'Orlando'},\r\n {title:'Ox'},\r\n {title:'Pluto', header:'P'},\r\n {title:'Paris'},\r\n {title:'Potsie'}\r\n];\r\n \r\nvar tableview = Titanium.UI.createTableView({ data:data });\r\n \r\nvar index = [\r\n {title:'A',index:0},\r\n {title:'B',index:5},\r\n {title:'C',index:9},\r\n {title:'D',index:13},\r\n {title:'E',index:19},\r\n {title:'F',index:23},\r\n {title:'G',index:27},\r\n {title:'H'},\r\n {title:'I',index:33},\r\n {title:'J',index:36},\r\n {title:'K',index:41},\r\n {title:'L',index:44},\r\n {title:'M',index:48},\r\n {title:'N',index:52},\r\n {title:'O',index:55},\r\n {title:'P',index:(data.length -1)}\r\n];\r\n \r\ntableview.index = index;\r\nwin.add(tableview);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "MobileWeb: Index Bar for TableView", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "423183", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T18:48:34.000+0000", "updated": "2017-06-29T18:48:34.000+0000" }, { "id": "436445", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:37.000+0000", "updated": "2018-04-04T23:20:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }