Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14844] Add titleId property for TableViewRow

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsCore
Labelstableview, tableviewrow, titleid
ReporterMatej
AssigneeUnknown
Created2013-08-10T08:56:04.000+0000
Updated2018-02-28T20:04:18.000+0000

Description

*Note* We can use workaround with locale function L("string"), but this is annoying especially when is developer using Alloy because then you need to set title in a .tss file instead of XML. *Example*
var win = Titanium.UI.createWindow();

var data = [
    { title: 'Adrian' }, // titleid: "name"
    { title: 'Andrew' }, // titleid: "name",
    { title: 'Barry' }, // titleid: "name",
    { title: 'Betty' } // titleid: "name",
];

var tableView = Ti.UI.createTableView({
	width: Ti.UI.FILL, height: Ti.UI.FILL,
	data: data	
});

win.add(tableView);
win.open(); 

Comments

No comments

JSON Source