The below example should show the behavior, if your insrows() function inserts a few more rows than fit on the screen, when you scroll to the bottom there should be about 2-3 rows that are outside the bottom tableView edge.
I want to have a tableView that expands when swiped.
Is there another property that has to change when the height is changed, or will I have to remove all rows, expand it, then insert them again? (This would rule out animating the height as well as lazy-loading, or at least it may appear ugly.)
tableView1b=widget.newTableView
{
top = 0,
left=0,
width = 320,
height = 568,
listener = nil,
onRowRender = onRowRender,
onRowTouch = onRowTouch,
onRowUpdate = onRowUpdate,
hideBackground=true,
noLines=true,
}
insrows()
tableView1b.height=300
self.view:insert(tableView1b)