Hi there,
i am using tableViewXL.lua 1.0 from Gilbert Guerrero.
i can easy get through the “listButtonRelease” function what ROW i selected.
But how would i get an information about the Item thats attached to the row?
I add Data like:
function add_data(id, userid, title,subtitle,image, more)
myData[id] = {}
myData[id].title = title
myData[id].subtitle = subtitle
myData[id].image = image
myData[id].id = id
myData[id].moreimg = more
myData[id].userid = userid
myData[id].category = “Dinner”
end
that comes assigned to the new TableView
myList = tableView.newList{
data=myData,
…
…
Now i tried to get for example my my data[id].userid in
function listButtonRelease( event )
self = event.target
local id = self.id
with self.userid
but it looks the event is just assigned to the rows itself and not the items bellow.
Any idea how to get my item.userid without creating a separate Table just to
assign row.id with a userid?
thx
chris
[import]uid: 4795 topic_id: 15094 reply_id: 315094[/import]
