Display red edit button on left side of rows in a table view using Alloy with Titanium

Introduction :
For iOS we can implement the row edit functionality in a table view.
Here I am describing the same with below video.

Summary :
Following above video we have learned to display edit button along with red delete button on rows using Alloy with Titanium.

THAT’S IT

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Rows drag and drop functionality in a table view using Alloy with Titanium

Introduction :

There might be a scenario where we need to re-arrange the rows with drag and drop effect. Using titanium, very easily we can achieve this.

Here I am describing the same with the video given below.

Summary :

Using above video I have described the way to implement drag and drop functionality on rows using Alloy with Titanium.

THAT’S IT

Presented ByRaju Mahato, Software Developer, Mindfire Solutions

Video tutorial to display red delete button with Alloy using Titanium

Introduction :

Titanium provides you some APIs which are OS specific. One of the scenario is to display red delete button on swipe of row in a table view.

Using the following video, I am going to describe the way to display red delete button on swipe of rows on a table view.

Summary :

Using above code on swipe of any row, you can display delete button on right side of row.

THAT’S IT

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Video tutorial to delete specific row from a table view in Alloy using Titanium

Introduction :

As we can dynamically add rows to a table view, we can also delete a specific row from a table view.

Titanium provides ‘deleteRow’ method using which we can delete any row.

With the help of below video, I am going to describe the way to delete row.

Summary :

So using the above code block we can add the functionality to delete any specific row from a table view.

THAT’S IT

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Remove all rows from a table view using Titanium with Alloy

Introduction :

There might be a scenario where we need to delete all rows from a table view. At this point also Titanium provides a way to meet our requirement.

Here I am going to describe you the way to delete all rows using the below video.

 

 

Summary :
Here we came to know about the way to delete all rows from a table view using Alloy with Titanium.

 

THAT’S IT

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Append Row in a Table View With Alloy Using Titanium

Introduction:

Titanium provides method associated table view which can be used to append row at the bottom of any table view. Here with the below video, I am going to describe you the way to append rows at the bottom of a table view.

Summary:
From the above video we have learned the way to append row at the bottom of any table view with Alloy using Titanium.

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Row Count with Titanium in CrossPlatform Application

Introduction:-
We generally use table view API in titanium to display data in row manner but there might be a scenario where we need to take care about the number of rows. So here I will be describing different ways to count number of rows and sections present in table view.

Description:-
Sometime we might get data from some external API or any other source that needs to be bind with a table where we are unaware about the number of rows that are present in the API response. So let’s create a situation for a table view where we will get the number of rows and section defined for those rows using Alloy with Titanium. Lets have a window where we will have a table view with some static rows.

So in order to do so lets, take a view called index.xml and its controller called index.js.

Continue reading