Community Questions & Answers

TableView scroll to bottom

I've been searching for a solution how to do this for both iOS and Android. Seem such a trival thing is very hard to find a good solution for... I just want the table to scroll to bottom when it has been reloaded with new data. Anyone have any idea how...

Creating My First Titanium App

I'm new to Titanium and I'm trying to do the "Creating Your First Titanium App" tutorial. I'm building to Android and when I reach the stage where I launch it in the emulator, I don't see the book list.Just a blank page. Launching in Mobile Web...

Mobileweb - tableview scrolling

I've encountered an issue where tableview's do not seem to scroll for mobileweb builds. I am testing in the latest version of safari and chrome on the desktop. I see the scroll indicator, but it does not respond and thus does not scroll on long...

TableView swiping in star rating

I would like users of my app to be able to swipe right on a row in a table view and present a star rating for them to click My current implementation is below but is not showing my v2 view on the row and I'm not sure why The listener is setup...

Acess a tableview object from tableview row

i have a table view and i want to delete a row from the table on user click on a label inside a table view row firstly: i have three js files one for the window and one for the table view and one for creating table view row based on json data...

Any way to disable TableView scrolling?

I've got a TableView that is sized to fit the data it's holding perfectly, but it's annoying that a user can still drag the contents up and down within the border of the TableView. Is there a way to disable scrolling on a TableView. I believe the iPhone...

editable row for remove

I am new with Titanium, so please excuse me if I post a simple problem. I have a tableView with the attribute "editable". When I click on a checked row, I am not able to see the "Delete" button to remove the row from the table. I've...

Titanium : Trouble cannot get height of tableview.

This is my code. var table2 = Ti.UI.createTableView({ top : 70, moveable : true, bottom : 0, // editing : true, scrollable : true, backgroundColor : 'transparent', }); newWin.add(table2); Ti.API.info(table2 .size.height); It is 0. I also...

How to display JSON in TableView

I've spent the whole afternoon looking to documentation, also googling and reading some questions on this forum without success. I've found only old answers that doesn't work anymore. I simply would like to know which is the best practice/method to display...

update a Tableview

I have a Tableview with some rows. I can use "hasCheck" when i click the Tableview. The problem is i only need one row selected with "hasCheck", and when i select one the other must be unselect (hasCheck=false). How i can update the...

Add an click event on label on the table view

Hi, I have a table view, where I am displaying a title, which should be clickable and opens a URL in a web view and second there is an star icon at the begining of the title, which, when it be clicked it stores the item in a db as favorite. So my code...

Adding items to ListView

Hi, I want to have a ListView, and when an item is clicked add another view to the ListItem with height 0, and than execute an animation that will expand it to show "extra details" within the ListView. Is that even possible in a ListView or...

Height of a row

Hi, i'm working with tableview, and i have a problem. Is a dynamic tableview, load the rows from a database. The problem is the different rows has different height. This is the code. ~~~ var rows = db.execute('SELECT * FROM Termostatos ORDER BY...

Tableview without images

HI, I need a tableview with 2 fields: a text and a image. I use this code: ~~~ var rows = db.execute('SELECT * FROM Termostatos ORDER BY Termostatos.Nombre'); var RowsTabla=[]; var i; var sectionTabla = Ti.UI.createTableViewSection({ headerTitle:...

TableVIew row zoom in/out

Hi everyone, anyone know how to create tableview like tableview in image link below. when scroll up/down each row will zoom in/out. i'm a new titanium. hope everyone can help or any advice. thanks. [image link][some id] [some id]:...

horizontal scrolling

I'm trying to create an horizontal scrolling of images where more then 1 image is visible at the same time. I've tried all 1 zillion (bad) examples out there. Using a scrollableview i've been able to scroll horizontally but my problems is that only one...

edit problem at 0th row of Tableview

Hello, I have one tableView.Each row in it contains a label,Edit and delete button.On click of edit label get replaced with Textfield and both buttons get replaced with Update. My Problem arises when I press edit for 0th row of Table.It doesn't replaces...

determine if cell(s) are currently editing

I would like to detect when a cell in a tableview has the delete button visible. I tried the tableview.editing property, but that returns null. The rows dont have a property listed for isEditing. What is the best way to check if rows are currently editing?

Showing 1-50 of 2,979 1 2 3 4 5 660