{ "id": "126267", "key": "TIMOB-16454", "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": null, "resolutiondate": null, "created": "2014-02-11T14:42:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "delete", "listitem", "listview", "tableView" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "37051", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "129669", "key": "AC-3174", "fields": { "summary": "ListView: Implement iOS-property \"deleteButtonTitle\"", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:14.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Unable to find it in the documentation but I use 'deleteButtonTitle' when swiping on an editable TableView so I can customize the label 'Delete' to something else, eg: 'Add', 'Remove', 'Hide' etc..\r\n\r\nTableView example: \r\n{code:tableView.js}\r\nvar tableView = Ti.UI.createTableView({\r\n data:data,\r\n deleteButtonTitle: \"Hide\", //L(\"hide\")\r\n editable:true\r\n}); \r\n{code} \r\n\r\nIt would be great to have this feature on a ListView... \r\nWell, would be even better to have it on a 'ListItem' so that it can be customizable on an item/row rather than the same label across a single list.\r\n\r\nAs all the features of a TableView haven't been implemented on a ListView yet, I'm having to slowly migrate, however would be useful (if this feature is possible to implemented) that it works with ListView's main/child templates also.\r\n\r\nMany thanks\r\n@Hardbyte\r\n ", "attachment": [], "flagged": false, "summary": "TiAPI: Customize button title similar to TableView deleteButtonTitle", "creator": { "name": "hardbyte", "key": "hardbyte", "displayName": "Craig Jones", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hardbyte", "key": "hardbyte", "displayName": "Craig Jones", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.2.1.201402041146\r\nSDK 3.2.1.GA\r\nOSX 10.9.1", "comment": { "comments": [ { "id": "292609", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ListView does not implement all methods and properties of TableView intentionally so that not to have the similar performance problems with the TableView. Having said that, I am moving this feature request to engineering for further evaluation and prioritization.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-12T07:10:59.000+0000", "updated": "2014-02-12T07:10:59.000+0000" }, { "id": "296007", "author": { "name": "bcproductions", "key": "bcproductions", "displayName": "Ed", "active": true, "timeZone": "America/Havana" }, "body": "We would like to have deleteButtonTitle supported on the ListView as well. I have a localized app, and need to change the \"Delete\" label to other languages. On a side note, \"deleteButtonTitle\" should also be documented for TableView. It's been supported for a few years, but still not in the docs. Thx!", "updateAuthor": { "name": "bcproductions", "key": "bcproductions", "displayName": "Ed", "active": true, "timeZone": "America/Havana" }, "created": "2014-03-06T20:29:43.000+0000", "updated": "2014-03-06T20:29:43.000+0000" }, { "id": "352767", "author": { "name": "crossbits", "key": "crossbits", "displayName": "Danny Pham", "active": true, "timeZone": "Europe/Berlin" }, "body": "My implementation in TiUIListView.m:\r\n\r\nhttps://gist.github.com/danny005/069451cbe13e1b8c5062\r\n\r\n\r\n{code:java}\r\nvar item = {\r\n\t...\r\n\tproperties: {\r\n\t\t...\r\n\t\tdeleteButtonTitle: 'Your title'\r\n\t}\r\n};\r\n{code}\r\n\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "crossbits", "key": "crossbits", "displayName": "Danny Pham", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-17T18:33:04.000+0000", "updated": "2015-05-17T18:33:04.000+0000" }, { "id": "370120", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~crossbits]: Can you submit a PR to cover your changes + docs just like [here|https://github.com/appcelerator/titanium_mobile/pull/7430/files].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-12T19:25:31.000+0000", "updated": "2015-11-12T19:25:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }