Community Questions & Answers

Remove rows from picker

I want to show picker values based on selection of above field in form. For that purpose I need to remove picker rows and populate the new values. For IOS below code is working but for its throwing exception. Any idea? ~~~ var _col =...

ListView minimum row height

Hello, It appears there is no way to control the minimum height of a given ListItem (on Android). Currently we need to display some custom rows that display auxiliary information. These items are to be small and discreet. Supplying properties such as...

Expand / Enlarge tableview row

I have a tableView with a bunch of rows that contain labels. When clicking on a row I'd like to expand it, ie. increase its height, to be able to view all of the view's labels. The problem I have is that the text flashes (disappears for ~0.5 seconds) when...

Update table row dynamically

I created a page that holds current scores in a table view. I'm trying to get it to update the score for each row when the points are awarded. How would I go about changing the score for the third row for example? ~~~ var teamScore = getTeams(); var...

Problem with deleteRow and tableView

Hello, I want to delete a row on a tableview when i click on an alertDialog. The problem that the first click to deleteRow works fine, but the row deleted reappers again after a second click on another row. here is my list.js: ~~~ function getList () { ...

Display data from remote DB

Hi, i'm begineer on titanium's developpement. I have a tableview contains list of persons' name retrieved from remote database. when i click on each row of my tableview, i want to display only one information from remote database associeted for this row...

openDetail of json object

I am creating an application for fetching JSON data from REST API and display the data to Table View an i want to get the json object detail when i click on the tableviewrow index.js ~~~ function openDetail(e) { var controller =...

Add more rowData to TableView

I want a TableView that shows TableView A’s rowData as well as TableView B’s data. So basically append or “concatenate” them, I think. I tried this: ~~~ var dataFruits = [ {title:’Apple’, x:1148, y:1056}, {title:’Banana’, x:1218,...

Custom row tableview

Hi, I have a table with custom row items that i dynamically generated from a loop (items are a checkbox and two labels). The sample code is below. Now I want to get access to an element or item on a particular row when ever the checkbox on that same...

Calculating total tableView height

Similar questions to this have been asked but as far as I can tell this has never been answered. Here is the problem. I have a tableView inside a scrollView and would like my scrollView to be about 20px taller than my tableView. All of the rows in my...

ListView complex layout

I have a tableview row that is rather complex, and in my striving toward a smoother experience I was wondering if this could be converted to a ListView. I keep taking a look but get completely confused when trying to convert. This is what I currently have...

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...

Min Height

Hello, Titanium SDK version: 1.7.0.RC1 iPhone SDK version: 4.2 Is it possible to set a minimum height on a row? Like min-height in CSS? Thanks!

4,953 views
asked 3 years ago by James -
last activity 1 year ago

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 306 1 2 3 4 5 6 7