Community Questions & Answers

Reach Parent Object From Child Object

Hi Titaniums .. i have a group of buttons in scrollableView and i wanna made a changes on the all buttons when one of them clicked .. number of buttons not static .. this is my code .. (buttons == radio buttons ) ~~~ function...

Click filters down to child item?

Hi. I have a problem where clicking a tableViewRow causes a child item to change background color. The child item is a child of a child of the tableViewRow and changes background color when I click ANY area of the tableViewRow. Why does the click seem...

Navigation: how to return to home?

Hi guys, I'm in trouble with my app. I have a single window with a dashboard. When I click on a icon I open a new window. Then another child win etc... At the beginning I made a Navigation Group without Tabs Group as you can see on Developer Blog. The...

Android child node

Hi, I'm trying to do some really simple and yet finding it a real challenge to do! I have a window in which I have a three views. I want to remove the second view using the 'children' function. I am able to do this fine in iOS however on Android i get an...

Problem with touch events (1.8.0.1)

Hi, I have a problem with touch events (touchstart, touchmove, touchend, touchcancel) in 1.8.0.1 v8: example code 1: ~~~ parentView = Titanium.UI.createView({ width: 8000, height: 300, // etc ... }); for(i=0;i<10;i++) { childView =...

Dynamically hide parents children

I would like to hide dynamically created labels when one of the labels parents is clicked. Note the comment in the code below, it may help explain my goal. Basically, there is a main view, which has several subviews and each subview has a label. I want ALL...

TableView setting child location

I have a tableview, and I am passing data into it with rows that have a "location" parameter `{ title:'Window', hasChild:true, location:'theWindow' }` I want to have tab1 open whatever is set in "location" when the tableview row is...

Child will not close

Here I make my tableview and my eventlistener for the click. On the click it switches to the child. I have a button 'Sluit' at my child, I want that the api switches to the parent page when I click on it. But this doesn't work. ~~~ var TheTable =...

Childview will not close

I have a tableview with childs, when I click a parent it opens the childpage. But when I go to another tab and then want to go back to the parent tab it still shows the child. How can I solve this problem?

Remove childs from view

Hi. I'm trying to remove the childs inside a view but I can't find how to do it. I've seen on other posts that the views have the `children` property, but it always gives me `null` I'm using Android API 2.1 and Titanium 1.4.

Child Windows Android

Please.. Someone tell me what I am doing wrong! I am trying to create a child window inside the main window (win1). I am copying this off a youtube tutorial, the only difference is they are running iphone and I am on android! What am i missing! Thanks in...

get child at

I was wondering if there's a way to get number of children in a particular view. For instance, I want to get the total number of children in a scroll view then animate fade out and then delete it. Below is the code I'm trying to achieve coming from an AS3...

Showing 1-35 of 35