Hi there,
since long time i use the TableView from Gilbert Guerrero
i could fit it to some special needs, but now i would need to change a specific value in myList
and I find no way to do.
lets say that is my List Creation
myData[id] = {}
myData[id].title = title
--myData[id].subtitle = subtitle
myData[id].image = image
myData[id].id = id
myData[id].moreimg = more
myData[id].idtask = idtask
myList = tableView.newList{
data=myData,
default=“graphics/theme0/listItemBg.png”,
over=“graphics/theme0/listItemBg_over.png”,
onRelease=listButtonRelease,
top=topBoundary,
isLocked = false,
bottom=bottomBoundary,
backgroundColor={ 0, 0, 0 },
callback = function( row )
local title = display.newText(row.title, 0, 0, native.systemFontBold, 32 )
title:setTextColor(0, 0, 0)
g:insert(title)
title.x = title.width*0.5 + img.width + 125
title.y = 50
title:setTextColor( 200, 200, 200)
g.title = “123”
return g
end
}
localGroup:insert(myList)
so my data should be somewhere in myList.data[x].title right?
but whatever i try i cant change the title after the list came created.
i would even insert a new function into the tableView.lua from Gilbert, what also there i dont see
where I am able to change my title
hope anyone of u is a bit firm with the tableView.lua from Gilbert.
Thanks
Chris