Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Create a table with multiple columns and bind objects

$
0
0

Hi all,

I am trying to create a table in titanium studio with multiple columns. I don't want to add columns wit just text, but i want to BIND an object to the row.

i.e: I have an object: Skill {ID: 3, Name:Diving, Category: Swimming}, I want to create a table like this:

| Skillname | Category |

| skill | TheCategory |

And so on... but sometimes I want more data in the table, because my real objects are bigger. When I click on a row, it should pass the ID of the object in the row, to a new controller.

Question: I don't know how I can get a combination of multiple columns and selectable rows (without the ID in the rows).

I am a beginner with titanium and I'm really stuck on this, any help would be appreciated!

  • Jason

Viewing all articles
Browse latest Browse all 8068

Trending Articles