Community Questions & Answers
TableViewRow overlaps a containing view on tap
I have got a bunch of table rows being created like this: ~~~ var row = Ti.UI.createTableViewRow({ backgroundColor: '#fff', selectedBackgroundColor: '#ddd', height: '40dip', hasChild: hasChild, hiddenText: title }); var rowLabel =...
Load more Data from Remote db to tableview
Hello everybody. I am trying to use the Dynamic scrolling Feature from the kitchensink example to load more Data from my Remote datasbase. Currently the Function loaddata consisting of a http Request Creates a Row for the 10 newest entries from the...
Can't Refresh Tableview because of Pagination
My Setup: - Latest Titanium SDK iOS Application - Trying to get it working on iOS 4.3 and above. - Working off a Mac, OSX Mountain Lion. Below is a striped version of the code I am using to paginate a list of items from a JSON feed. The feed displays 15...
Clear and refresh data from outside a function
Hey folks, Struggling with a problem for quiet a while now and can't get my head around it. I am attempting to refresh a listing based on the users geo location. I can clear the data but can't get it to reload cause the code I have been using is setup in...
Set android tableview / listview divider height to 0
I have a design that works on the iPhone, using a faux grouped table view style. Its a normal table with a background image on each row that doesn't fill the whole width, and separator style set to none. The trouble is that I cannot hide the divider lines...
Putting my detailed data into a table
I have a data table and on eventlistener click, the row becomes a detailed window with the data of the row selected. I have the data as labels, but I want to display some of the data as a table with row titles (particularly my vars, mon, tues, weds, thurs,...
How to get rowData from custom TableViewRow?
hey guys, i've created a custom tableviewrow and the output is great, but not i want to get the information of my custom rowData, but i've no idea how to catch it. i tried several variants of using `e.rowData` but i always get no usable result. could...
Singleton Alloy fetch() issue on modal Window
Testing on iOS 6.0 and 6.1, Alloy 3.0.0GA and 3.0.2 same issue occurs on both Fetching the collection on index.js shows the data in the tableView (currently its commented out), because I would like to show this table data on a modal window without calling...
Sort Table Data by Sections
Is it possible to sort JSON data first by a data mark i.e. points and then push one JSON stack into two seperate sections for instance given the following code to first seperate by one json data point then sort the data by points - I then want to build...
iPhone tableview select/highlight colour
Is it possible to remove or change the default blue colour of a table row when you touch it?
How to access the red circle event when deleting a row?
Hi Community, before deleting a row a user has to touch a specific red circle with a dash '-'. Does anyone know how to access this event?
disable the touch event of tableView
Hi. I have a tableView in my app, i want to disable the touch event of tableView that is user can't move or touch the tableView. Please help me. Thanks
Trying to delete SQLITE table row when clicking on Tableview delete button
Hi guys, I'm having a hard time trying to get the following working. I've got a bunch of data which is stored to a database file. Now I want to be able to delete when pressing the delete button on my Tableview row. Here's my code: ~~~ var window =...
iPhone Table View - descript
Hi, I have problem with descrip of inputs on gray background. Now I have descrip in table ( Win on right... ) I need this descrip on top of table like text on left window ("Double tapping..."). I tried put to view classic label ,but gray...
Table Row with images in SDK 3
Hi, i have updated Titanium Studio to SDK 3.0.0.GA an now my remote images are not visible in my table row. my code: ~~~ var row = Titanium.UI.createTableViewRow(); row.backgroundImage = '../../images/iPhone/listeSchmal.png'; row.selectedBackgroundImage...
SearchBar and TableViews
Hi everyone! I have a question regarding the positioning of a table's SearchBar on Android. Is there any way I can show the SearchBar (connected to a particular tableView) in a separate view? I don't want to show the SearchBar "stuck" on top of...
ACS Add Friend won't work?
Hello. I am showing a list of all the users in my app. When the logged in user presses the user, it should Add him or her as a friend, but instead it is giving me this error: message = "'undefined' is not an object (evaluating...
App not working for client?
I created a App in ios using titanium 2.1 it works perfect in my pc and titanium , but when i send to the client , when he run on simulator it not working perfectly.. pronlem: in client pc database not crate , so value from database in to table is not...
Custom Table Rows: How to load data's js to load window on click
I am very new to Titanium and I just created a custom table view. However, in my var data = I have added a js = 'external.js'. In creating the custom data rows, I would like to be able to load the external.js (which is a new window) on click. Can't seem...
Iphone applicaion not working in other PC while testing ?
Application type: mobile Titanium SDK : 2.1.2 platform: ios device :ios simulator host os: OSX 10.7 titanium studio: 2.1 Application is Synchronizable Contact List: Include database and table view in application, application is working fine in my PC ,...
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({ ...
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
Jittery Tables. Can anything be done or are we stuck?
Hi Folks. I have done all the usual recommendations on the forum and in the guides but still stuck with jittery table rows. So quite simply got only 20 table rows each with a view and a couple of labels with a simple light weight graphic but still get...
Custom search result table view.
I generate a table with this piece of code, but when i search thru it with a searchbar it doens't give any results. Any help on how to resolve this AND style the search result table view? ~~~ var data = []; for (var x=0;x<40;x++) { var image =...
Remote images in table row / jump position / crash app
I'm using remote images within a table view and don't seem to be getting very far. I've tried imageViews and webViews, both with similar issues: * images show up randomly * images change position within the table while scrolling (!), jumping literally...
set MinHeight and MaxHeight of individual rows in a table
Can I set the maxHeight and minHeight of individual rows in a table? I'm able to set them for all in createTableView. But I want that some rows to have an other max/min height than others
hasCheck does not work
I try to use `hasCheck` in a `tableViewRow` but it does not work. I'm using the Android Emulator so I've no idea about iOS. I've tried [this](http://developer.appcelerator.com/question/144387/hascheck-works-on-ios-but-not-android) but with no success....
Titanium Mobile Custom TableViewRow click events
Hi, I have a custom TableViewRow which is generated in a loop, each row contains an image and a label. The table has a click eventListener which opens a new window. I want the whole row to be clickable, but if one clicks on the label or image the row...
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
Is there an option to disable scrolling in a tableView for Android?
Is there already an solution to disable the scrolling in a tableView for android? In iOS we can use `scrollable: false` but for Android I couldn't find any solution. There are somequestions about this, but most of them are old [question...
Window with tabledata doesn't show up
Hi guys, I followed a tutorial that showed that this should work atleast on iOS. But on my Android device, Samsung Galaxy Nexus with the newest version, when i try to click on Qlimax or Thunderdome for an example only the alert dialog pops up and not a...
Add information with style to an array
Hi, I want it to looks like this: http://i47.tinypic.com/sf9w1h.png For know i only get the title in the middle after i have clicked on one line of text in the array and i can't go back either without the app closing. I wonder how i attach text and...
Why do I lose my tabs and navbar when displaying my table?
Hello. I'm putting together an app to both read and write data to a MySQL database. The basic functionality works well. My problem is that when I 'click' the tab to go to the page that displays the database content (in a table with sections) I lose the...
Drag and Drop row of tableview inside table in iphone
Any one know how to rearrange tableview row using drag and drop feature inside the table in iphone?i have to rearrange row inside the table.Any module or functionality is there for that?
For loop Count PLEASE HELP
Hi all, I have a for loop that populates to the amount of files in a Json and I give each item an ID in the for loop so if i click on one the id will display of the specific one but it only displays the last ID in the loop ~~~ var lblTaskName; var url =...
Clickable array to show text
Hi, I wonder if someone could show me basic code how to make a clickable row to show information in the window. For example. Parties (Header) - Jennas party -> Time: 18.00 Street adress: Blabla 18 Info: (Some long text) - Henriks party -> Time:...
Swipe to Delete stops working after viewing child
So here is the deal. My app builds a table. Then upon refreshing data from my API loads data into said table. Each row is set to editable: true. Whenever I delete half the rows in the table, then click on the row to view the model window it opens and go...
numbers in a tableview
I am using Titanium Mobile for iPhone and have updated to 1.7 RC1, anyways, i am having a hard time displaying numbers from a database. whenever i try to put it into a tableview it crashes my app. i dont get any errors in the titanium developer console....
MapView in table row - does not fetch data on pan/zoom?
Hi, I embeded a MapView in a table row. Everything works fine on iOS. On Android the view loads map data on window construction. But if I zoom or pan the map, the map view doesn't fetch the needed map data. I use Ti 1.8.1 and Android 2.2 The map is...
how do i determine the screen coordinates of a tableview row?
Im trying to figure out the screen coordinates of a table view row on click.
App randomly crashes with TableViews and semi-large built-in database
I can't find a pattern to this or why the app crashes. I used XCode to look for leaks and there really isn't anything of significance. The app goes through nested Windows that contain TableViews within a TabGroup. The database is fairly large - close to 1...
Table still initializing after placed in window?
Dear developers, I am using an XHR request to get data from my webservice, the response I get is being placed in a table wich is being placed in my window. I first set the data to the table and then I place the table in my window. In this table I got some...
Uncaught Error: No such table - Database
Trying to insert information to a database however I get the following error message. ~~~ Location: Ui/mydb.js Message: Uncaught Error: no such table: itemFieldTable(code 1):, while compiling: INSERT INTO itemFieldTable (itemField...
Tableviews and rows
Hey, I'm new to app development for iPhones and I was wondering if someone could help me. I'm trying to design an app that has a window for a table then when you click a button in the top corner it leads to a new window that will contain 3 - 4 textfields....
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
Problema con createImageView
Hola buenas! Tengo un problema con una aplicación que estoy haciendo y espero que me podáis ayudar. Esta es la estructura de los...
Event Listener - Better performance adding to row or table?
I have an app that pulls content from a webservice and populates a table, and it seems a little slow (iOS). The table has about 15 rows for this section, with an image and 3 labels per row. I add an eventlistener on each row to open a details page, but...
table view with page selection
Hi, Does anyone have a example of a dynamic table view with page buttons, next, back, last, first page 2 , 3 , 4 etc
Dynamic tableviewvrow eventlistener that detects which row has been clicked
Hi everyone, I have a dynamic tableview populated with mysql data. The goal is to open a detail page when clicking a row and passing the right data from that row into the detailpage. So the next step is to create a event listener that is able to detect...
Views disappear when row changes height
SDK: 2.1.0.GA OS: iOS I have a simple app which consists of 5 rows (each one 1/4 of the screen height so the table scrolls). Within each row is a simple custom row consisting of a main view, a small inner view and a label inside the inner view. When the...