Community Questions & Answers

Float label in a row.

Hi.. I'm trying to create a chat app. I'm using table to display the chat messages. I'd like to give alternate styles for chat of sender and receiver. I'd like to display the chat of sender in left and the receiver in right side of rows. Is there any...

TableView - "data" property

Hi all. I'm using Titanium 1.7.1, Android 2.2 (Samsung Galaxy Tab), Windows XP I've noticed that there is strange behavior of "TableView" data property. From Titanium documentation: > data | array | the data array of objects to be used for...

Button on a tableViewRow

Hi Everyone, I am creating a button and adding to a tableViewRow. I have many rows in my tableView. the button is invisible first which I did by making : ~~~ visible: false ~~~ When I click on a row the button should be visible. I am doing it as...

title's size of a row of table view

Hi every body i have a little issue which is the size of the title of a row of table view i want to make it more visible than the usual but i dn't know which property i have to choose (width, font,...) nd how edit it i try some exemples until the...

adding image to a row of tableview

Hi every body i'm trying to add an image to the row of my table view but that dn't work with me when i make backgroundimage the image appears but it's too large i tried to make it in the folders "ressources/android/images/res-long-land-hdpi" it...

Change row rightImage

Hello, Im creating dynamically a table with a contents of a json file, here is my code: ~~~ for (var i=0; i<jsonObj.waypoints.length; i++){ var row = Ti.UI.createTableViewRow({ color:'white', height:'60dp', rightImage:...

Problem with TableViewRow Height

Hi, I have a TableView with dynamic content, I added a label in the row with height:'auto' the problem is that I have many blank area between my rows ! I tried to change the label.height to Ti.UI.SIZE but no change, also a put Ti.UI.SIZE in the height...

Delay appearing of table view rows

Hi all, my intent is to display the rows of a table view one after another with a delay of 1 second. The prevoius line should remain on screen and the table should scroll when new lines are added. The data is collected from an online php server and...

ListView with auto height row

Hi, I can't figure out how to set the row height of new ListView to 'auto'. Due to dynamic content, I can not set a fix height. I have tried it with 'auto', Ti.UI.SIZE and Ti.UI.FILL as item property but nothing works. Even if I wrap an auto-sized view...

Unable to get PickerRow data

Hi Everyone, I am just trying to do a simple task and that is I want to get the data of PickerRow. I have searched around and tried some different ways but unfortunately I am unable to get the data: Now I have used the following code: ~~~ for (var i=0;...

Infinite TableView

Hi there, not really a question but I read some Q&As in the past looking for a TableView which loads remote data piece by piece to provide better user experience instead loading all at once. Thats why I created a...

Create List/Tableview

I'm new to Titanium and am just wondering what the best way would be to achieve something like this: ![image](http://i.imgur.com/znvy0nQ.png) I tried a function something like this, however I would want to have the text overlay the row backgrounds....

Remove empty rows from table

I have implemented search functionality on the table. when we search it working file but empty rows are exists on table search result. when we scroll more empty rows are show. I want to show only search result not with empty row.

Empty rows on android

Hi, I'm developing on android with sdk 3.0.0 and testing on galaxy s2 with android 2.3.4 my problem is in the rows of a tableView, i have empty rows or missing elements like you can see in this screen shot :...

Alloy - un-executed function

Hi everyone, I started using Titanium a week ago, and I have a problem with my first try ! I created an alloy project. The goal is only to print a table with the result of an sql request. The problem is that I don't know if my js function is ok, because...

Tableview selected background image on row

Hi All I am trying to get selected background image to work but it just wont work for me no matter how many options i try? I am trying below ~~~ var row = Ti.UI.createTableViewRow({ backgroundColor:'transparent', ...

RUNTIME ARRAY

Hi Everyone...!!! I have a small scenario and I'm struggling a lot with it as I'm new to titanium.. I have got a textfield and I want to store its value on button's click everytime in an array and that to into the system memory using the...

Adding Rows after a new dynamicSection?

Hey, i wanna add rows dynamicly to dynamic sections... So something like list.insertSectionAdter( ...) and now i wanna add rows into this section - any idea to sovle this? I DO NOT wanna do it like section.add(row) and than assign the section to...

Custom TableView scoll (bug?)

Hi all, Every app with a custom TableView that I develop does have weird bug. - Tap and don't release on the last visible row (row index X) - Move your finger up and release (scroll up) - Tap (one short time) another row on the screen (row index Y) -...

How to access labels in a row when a switch is touched

Hi, I've been looking for info on something I'm sure is simple. I have a table with rows gathered via RSS. Each row has two labels and a switch. When the switch is touched the event returns the switch object but I can't get the value of a label from the...

Tableview row check

I've got an issue with the hasCheck parameter. Basicly i want to be able to check and uncheck a row with an eventlistener. The kitchensink had an example on how to check a specific row. My problem is the unchecking of the row, for some reason i cant get my...

TableView Editable adds margin to row

When editing a tableview the rows get extra margin or padding, the inner elements are being moved to right. How can I disable this moving? Images: When normal: [normal](http://d.pr/i/bxSp) on editing: [on edit](http://d.pr/i/4RSN) How should I fix this?

Click Event Propagation

When adding a view with buttons to a table row, is there anyway to stop the click event propagation so that it doesn't bubble up to the table row when I click a button. here's the example code below: ~~~ var row = Ti.UI.createTableViewRow({ ...

Showing 1-50 of 259 1 2 3 4 5 6