Hi.,
i have listed out the categories,subcategories and products. Now i have added the products in cart .If we need to view the items in the cart, we can create a tableview and add the datas .but here if i have added the 3 items means the final item which was added recently that item only showing in the cart list items page.but i want to display the added 3 items.can you please check my code and find out my issue.
var customTableView = Titanium.UI.createTableView({ BackgroundColor:'White', style: Titanium.UI.iPhone.TableViewStyle.GROUPED, });
data = customTableView.data; data.push({title:productlist_product, price: productlist_product_price,quantity: selectedqty}); customTableView.data = data; var myObjectString = JSON.stringify(data); //viewcartdata.add(data); Ti.API.info("PRICE"+" "+myObjectString);