Section in tableview used to categorised the rows to different category. Here I am going to describe the way to append new section at the end of a table. To do this Titanium provides methods appendSection which is associated with tableview API.

Description :

Here is how to append section lets create a scenario where we will have a tableview with a section and button on top of it to add section to the below table.

On above view a table view is added with a section having different rows and a button on top with a view where an onClick event is added to append section. Now the function asociated with the click event must be defined on the controller reffered to the same view which is ‘index.js’.