Hello, i have following code:
local function onRowRender( event ) local row = event.row local rowTitle = display.newText( row, "??Row1 Value??(dogname)", 0, 0, native.systemFontBold, 18 ) rowTitle.x = row.x - ( row.contentWidth \* 0.5 ) + ( rowTitle.contentWidth \* 0.5 ) + 10 rowTitle.y = row.contentHeight \* 0.5 rowTitle:setTextColor( 0, 0, 0 )
for row in db:nrows("SELECT \* FROM dogs") do list:insertRow{ height = 72, } end
How can i change the text of each row to the value of the name of my dog rows?