Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (multiline)
Viewing all articles
Browse latest Browse all 8

multiple line on tableview row?

$
0
0

I have my tableview that is pulling records locally as list of addresses, and I'm trying to add something along the lines of

Address (pulled from db) x miles from location

I can add the x miles by doing the following

data.push({
                    id: rows.fieldByName('id'),
                    lat: rows.fieldByName('lat'),
                    lon: rows.fieldByName('lon'),
                    title: rows.fieldByName('caption') + "\n x miles from location",
                    info: rows.fieldByName('info'),
                    hasChild: true
and it works fine. However, when I click the row, I DONT want it to show the 'x miles from location', thats just for this view only.

So is there another way to do it where its not actually part of the title?


Viewing all articles
Browse latest Browse all 8

Trending Articles