Will this be possible again? In my app I have a tableview, and when a row is tapped it brings up a detail view on the right, and changes the row bkg color of the active row and changes the other rows to default color. To do this I was iterating thru the rows in the tableview and setting their rowColor to something and then calling row.reRender. I can do this to change the row color on a touch event but not while iterating thru them.
This works:
list.\_view.\_rows[row.index].\_rowColor.default = {0,0,0,255}
This doesn’t:
for i=1,#list.\_view.\_rows do
list.\_view.\_rows[i].\_rowColor.default = {243,243,243,255}
end
Is there a better way of doing this?
This is how I have done it in the past(widgets 1.0):
for i=1,table.maxn(list.content.rows) do
list.content.rows[i].rowColor = {243,243,243,255}
list.content.rows[i].reRender = true
end
[import]uid: 58885 topic_id: 36714 reply_id: 336714[/import]