How to get the number of rows in tableview with Titanium?
TableView default has one section.
"table.data" is the section array.
If you don't create section, your rows are in "section 0".
Get the row count by
table.data[0].rows.length;
or
table.data[0].rowCount;