widget 2.0 tableView & Scenes

Hi,

I’m trying to get a tableview working in my createScene. The exact same sample code that I put in my main.lua file that works (the code is just a copy n paste from the corona docs), does not work when I put it in my createScene event listener. All I get is an empty tableview with blank lines.

Is there some caveat for using tableViews with scenes that is not mentioned in the docs?

My code is below, but its just a copy n paste from the docs. The only thing I commented out was using the mask. The tableview works fine when I put it in my main.lua to test it.

Help would be appreciated!

thanks!

Aagh. I noticed the I left the ‘local’ in front of the functions. It’s working now.

Aagh. I noticed the I left the ‘local’ in front of the functions. It’s working now.