Community Questions & Answers
how to pass tableRow title from one tab to another based on ImageView
Hello.. I have an ImageView which act as a hasCheck property. Now, I want to pass the title of selected tableRows to the next tab. By selected tableRow I meant those which has ImageView. Any ideas how to pass this data across tabs.. ? Thank you
How many items in a TableView.index with the same heading before adding a second index on right side?
I have a large table with 2000 movies that are all sorted based on the title. I have created a TableView with a row for each movie and set the header property on the row to be the first letter of the movie. This allows me to create a nice alphabetical...
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.
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.
Changing table row onclick default blue gradient background
Hi How do you change the default blue color, shown when a user selects a table row. I am trying to change the colour to white, or if that is not possible, remove the color. Thanks
how to change the layout of a tablerow after orientation change
i have a tablerow which i create the rows of it using xhr requests .. so my problem is this i have an image and a text , the image aligned to the right and the text is after it, when the orientation change (when you have a small screen) and it becomes like...
Select and hide some image views in a tablerow
Hello, In my code I have a table row generated from a json feed, in each row there is an imageview that I want to hide using a separate button outside of my tablerow... Is this possible?
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.
Tip: Got source working for elements on table rows.
Not a question, but a tip, as this took me hours to figure out today: I wanted to have a clickable image item on a tablerow (which itself is clickable). As it's not possible to prevent the click on the tablerow from firing, I couldn't just add an image and...
Label background disappears in tableRow on selection
Label in a tableRow has a background color set. On tableRow selection the background of the Label disappears regardless of the colour used. Take a look at the two states in [this image](http://yfrog.com/jmujcp). The code: ~~~ var keyIngredientsNumTF =...
KitchenSink Twitter mashup Android bug
Hi There seems to be a huge problem with Android not just in the KitchenSink Twitter mashup. I can't either create a table row with an image and a label next to it. The text in Android is simply missing. Please see:...
Search bug when setting TableView backgroundColor to transparent?
I have a working tableview with a search function. When i set my TableView backgroundColor to transparent, the search results are messed up! It seems like i can see two layers of tablerows or something. Is this a common problem? I would really like to...
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.
Image caching in Tableviewrow?
Hi! I have a tableview with an image in each row. These images are retrieved from a server. However, they don't seem to be cached: If I scroll down, and back up, the images on top, that have been loaded before, have to be requested from the server again....
Accordion Pane using Table rows
Hi, Can anybody has an idea about accordion pane using table rows.. Please refer me related stuff to make it work out..
Touch and hold event for TableRowObject
Hi Experts, can anyone give me an idea how to create touch and hold event for table row? What I want to create is, if user touch a row of the table and hold it for 2 seconds, it will fire and event and on that event I want to write a function to handle...
Why are my off-screen custom rows not laying out correctly in Android?
I have a TableView with custom rows in it. The rows that appear on screen are rendering correctly. However, any rows that are off-screen further down the list are not sizing correctly. Their 'auto' heights are not being resolved correctly so anything...
Get rowData from a dblclick
Okay, so I have a table and I want the user to be able to double click a row to take action on it (single click is not a preferred option). The problem I'm coming across is that the dblclick action only gives you the source, but not the rowdata like a...
Labels Not Showing in TableViewRow
I've been trying to work on this for two days and it's not working. What I am trying to do is very simple: create ONE table row with two labels. The labels however, are NOT showing up and I am really frustrated. In Cocoa Touch, this takes 2 seconds with...
Tablerow: Set rightimage and hasdetails?
Hi! I'd like to use hasDetails on a tablerow, so I can click the blue arrow and fire a details page. However, I'd also like to change the blue arrow to a different image. I can set this with the rightImage on the tablerow. However, if I do this, the...
How to assign listeners to tableViewRows in a loop
Hi - I'm trying to assign listeners to table view rows in a loop but no matter what the loop takes the final url value of the loop rather than its specific indexed url. Here's my code: ~~~ var tweetLinks = []; var tweets =...
Loading images onto table row is very slow...
Hi Guys, When loading images (taken with iPhone camera) into a table row the app freezes for a few seconds. Im looking for a way to stop this by loading the images in a different method. What is the best way to get images into a table row without it...
Refresh table rows with new data from JSON
I have a 5 rows populating from a JSON feed : http://pastie.org/1850558 This is working. I have created a button to refresh the data from a different feed, but its adding the new data to 5 new rows giving a total of 10 rows instead of replacing the...
How remove th left image fo a row?
Hi, I need to remove the left image when a row is selected. i use this method: ~~~ tableview.addEventListener('click', function(e) { // event data var index = e.index; var section = e.section; var row = e.row; var rowdata = e.rowData; ...
Hold table row
Hi all, i have got a problem to view a option dialog when i hold a row. When i open for the first time the window, my code work but if i open another window and i come back, the option dialog doesn't apear. Below I am attaching the code. ~~~ var holdTime...
Persistent selections in subviews?
I have a navigation group application. In each view, the user makes selections in a tableview and when the next button is tapped, I save the selections to app properties. [http://pastie.org/1784090](http://pastie.org/1784090) The table view is...
Internal App Badge Like iPhone Mail App
Is there any examples of an internal badge that updates from a push? Similar to the ones for the mailboxes on an iPhone. Or if not from a push, is it possible to have it updated from an external database?
Tablerow formatting (dynamic sizing)
I'm building an index of Subjects and attempting to create a tablerow that has two labels. One with the Subject and the other one to the right side that shows the number of items in that subject. Kind of like you see when you look at mail on the iPhone. ...
Target child in row
How can you target a child in row? I tried to target it by using this line: tableView.data[0].rows[0].children[4].text = "new value"; But that doesnt work. How can i change only the text-value of child in a row to a new value?
'change' event listener not firing for textField inside tableRow
I'm having no problem placing a Text Field inside of a Table Row, and then calling focus() on the text field whenever the row is clicked. However, my 'change' event listener attached to the text field isn't...
How to parse all the rows of a tableView ?
Hi, I have a tableView with about 30 rows, and somewhere else in my code, I'd like to be able to parse all the rows, but I can't find a way to retrieve the "row list". I've seen no tableview method allowing this, nor any property (something...
Can't add the Facebook Button into a TableView Row
When I try to add it like another control (a button for instance) > **the Facebook button appears but does not work - not clickable.** ` var fbButton =...
backgroundImage don't updates in click event of table row (Android 1.6.x)
When setting the backgroundImage of a row in a table click event like this: ~~~ tableView.addEventListener('click', function(e){ try { e.row.backgroundImage = '/images/background.selected.png'; } catch(e){} }); ~~~ the row don't updates itself...
Add count(badge?) to tablerow
I'd like to add something like a badge with a count to a tablerow. The only code examples I've seen involve badges on tabs. Here's a pic of what I'm trying to do: http://img230.imageshack.us/img230/2899/mailunified20101116.jpg Any ideas? Thanks edit:...
Static Table header
hi all Whats the best approach for a header and a tableview scrolling underneath the header? do i need to add the tableview to a scrollview? Also, is there any way I can recreate the UI for Facebook 'like and comment' functionality? I have some table...
Tablerow variable for SQL WHERE variable
I have a tableview that shows a bunch of rows based on an array. When a user selects a tablerow, I want to be able to use a variable from the tablerow in a SQL SELECT statement as the WHERE variable. A simplified example is this: ~~~ var points =...
Programmatically access all table rows
Hello all, I've got an app that has a table view and a 'manage' button. When the manage button is clicked you enter 'manage mode' and are able to select any and all table rows which changes the selected rows background color. I need to be able to click...
Table row with both HasDetails and RightImage?
I'm trying to change the blue image that's added to a tablerow when I set HasDetails to true from blue to red. If I set the image with rightimage, it does apear. However, a click on the tablerow now longer fires the details flag, so I can't detect a click...
Long press on android, or simulating it with touchstart/end
I'm trying to get long presses to work with table rows on android. Apparently it's not supported with current Titanium releases. Following some samples posted in other Q&As, I came up with the following, but the "touchstart fired" never shows...
Has anybody resolved the SWIPE event within a TableRow
Its been about a month since i last asked this and have yet to find a working answer. I thought it would have been fixed in 1.4 but nope. So how is everyone overcoming this?
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.
TableView setOnItemLongClickListener Android
Hi, is there any way how would be possible to capture long touch event like in Android setOnItemLongClickListener on TableView?
Present Information Similar to Settings > General > About?
Hi there. I have a details page where I want to present information similar to what you would see on the iPhone Settings > General About. Left hand side is the field title, right hand side is the data. My Spidey senses are telling me to use a...
webViews in tableRows?
Has anyone had any luck using webViews in tableRows? This seems to be the only way possible to have href links in the 'title' of the row. (rather like a twitter client might have url links in the 'title/tweet' in a tablerow) I seem to be getting some...
TableRows like Apple Mail?
I'm trying to get two table rows to resemble those in the iPhone mail app. For one, if there are unread items, I'd like to show a number on the right with a grey background. For another, I'd like to show a detail view with three lines. A larger top...
Showing 1-45 of 45