{ "id": "60856", "key": "TIMOB-224", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:25:42.000+0000", "created": "2011-04-15T02:25:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "feature", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T18:13:45.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}

Add ability to scroll to a particular point in a table view -\ne.g.,

\n

tableView.scrollToIndex(rowNumber);

\n

where rowNumber is 0-based.

{html}", "attachment": [], "flagged": false, "summary": "Add \"scrollToIndex\" on table views", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122958", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The native API has two other arguments. Animated (boolean) and\nscroll position (enum). Scroll position is Top, Middle, Bottom, and\nNone, where the first three is the position the row will take\nonscreen. If the scroll position is chosen to be 'None', the\nbehavior is to scroll only until the row is visible; if the row is\nalready visible, no scrolling is done. None is listed by Apple to\nbe the default.

\n

Proposal: optional second argument, where the default is\neffectively:

\n

\ntableView.scrollToIndex(rowNumber,{'animated':false,'position':Ti.UI.ROW_POSITION_NONE}

\n

Question: should animated be default false or default true? Name\nof row position constants.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:41.000+0000", "updated": "2011-04-15T02:25:41.000+0000" }, { "id": "122959", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Adding.

\n

Titanium.UI.TABLEVIEW_POSITION_TOP
\nTitanium.UI.TABLEVIEW_POSITION_MIDDLE
\nTitanium.UI.TABLEVIEW_POSITION_BOTTOM
\nTitanium.UI.TABLEVIEW_POSITION_ANY

\n

where:
\n- ANY moves the row to TOP if not visible and above the visible\narea - ANY moves the row to BOTTOM if not visible and below the\nvisible area - ANY does nothing if the row is already visible.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:41.000+0000", "updated": "2011-04-15T02:25:41.000+0000" }, { "id": "122960", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Function exists for iOS as of 1.6.0 RC1.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:41.000+0000", "updated": "2011-04-15T02:25:41.000+0000" }, { "id": "122961", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Changes to codebase has made this moot since then.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:42.000+0000", "updated": "2011-04-15T02:25:42.000+0000" }, { "id": "408326", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T18:13:42.000+0000", "updated": "2017-03-02T18:13:42.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }