Community Questions & Answers
scrollView height 100% - 50px
Hi, i make a header with a height of 50px, and under this header i have to put a scrollView with the rest of the window height. How can i calculate this height? because i use Ti.Platform.displayCaps.platformHeight but this height includes the android...
JSON to TableViewRows with Headers/Filtering in Alloy project
I have a JSON object that contains a collection of records that all have date properties. I'm able to easily create a TableView to display the collection. I'd like to add custom headers to the TableView for each date. It needs to be custom headers because...
Alloy REST Authentication and Using Tokens within the Header Object
Hi all- I have a question. I have setup a system where I am extending my models to make REST queries/saves/etc using the new Alloy framework. Is there a method, or example available that would help me with the following scenario: On authentication, I...
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...
Add Header Row and Row Buttons to tableView from JSON
I have the following code that was graciously provided by someone here on how to bring a JSON string into a TableView. I have modified for my use and it works perfectly. I have two issues I cannot figure out. They are the following: 1 - Add a Header Row...
Tableviewrow Header Sql database info get header in every row
Hi , I have created an sql database with 82 rows with names and id like to add an header for that which works but every single name gets the same header. So every row has: Header1 Aron Smith Header1 Joe Swan Header1 Richard Andersson And so on. I want to...
TableView header font size
I need to change the font size of the header label thing in my tableview. I have this right now: ~~~ xhr = Ti.Network.createHTTPClient({ onload: function(e) { var response = JSON.parse(this.responseText); for (var i = 0; i < response.length;...
Rounded or custom header bar in iOS
Just wondering if it is possible to have a rounded header bar in titanium similar to what is discussed in this stackoverflow post: http://stackoverflow.com/questions/5575821/custom-nav-bar-styling-ios/6389991#6389991
Android HTTPClient removing request header
Hi, I'm writing a YouTube video uploader for Titanium. All works fine on iOS and joy of joy I have problems with Android. A few things. ~~~ /* This is for a resumable upload */ xhr.open('POST',...
Transparent background for tableView pull header
Do you know how I can define a transparent background for my pull header view. I have tried backgroundColor: 'transparent', but it doesn't work. Is it because I'm doing something wrong, or is there a known issue? My code : ~~~ border =...
mobile Window layout issue
I am trying to create a window with a simple header (with a textfield), body, and footer (with 2 image views). I want to have the body fill the area between the header and footer without having to statically define the height so that the app can handle...
desktop: force download a file using webkit
I've made a file manager using extjs and php server side (remote server). When a user click on a file (like a pdf) i'd like to open the standard dialog box of webkit to be able to save the file somewhere client side. For moment, i've tried to create an...
Large Header - Android Only
It seems like every time I start writing an app, the first window opened on android has a huge header, like three times the size it should be. It doesn't have any text in it either. This seems to happen when I start writing any application. This is how I...
Remote Json TableViewRow
hi, i am using remote json and want make a restaurant menu with it, but i can't understand how can i put row header to categorized menus. i am trying to make something like the picture http://s10.postimage.org/xvmet85hl/menu.png i can pull all menu...
Issues with returning single day entries using TableViewSection
Hi guys, I've got myself in a bit of a mess with some code, and hope someone can help. Let me quickly explain what I'm trying to achieve. I have a remote XML file which is parsed in my app, and is ordered by the latest data at the top of my tableview....
Row headers showing "Under _ Miles"
So...i have a sqlite database that has a number of locations with a field for each that holds the distance of that location from the user (in miles). Im trying to build a table that has row headers showing each location sorted by "Under 10...
(Android) Tableview: updateRow with headers
Hi, I'm not sure if this is a known bug, but: when I try to update a row of a table view using the code below I get an out of bounds error, but its fine if I take the headers out of the table. Is this my error or a bug? Cheers, Mark. ~~~ var LogFind =...
tableviewsection CHILD navigation fail after adding Header.
the navigation just stop functioning after i added a header in one of the rows. ~~~ function setData() { // create the array var dataArray = []; section2.setData(dataArray); data.push(section2); data.push({title:'All Schools', hasChild:true,...
How can I pull dynamic TableView headers from an XML feed?
Hi folks, I've got some tweaks to make on a current app. I've got a list of data from an XML feed, and at the moment is just displays in date descending order. That's fine, but I wanted to add Headers to this in order to group the list by dates. I've...
MIMEType on file uploads
Running Titanium Studio, build: 1.0.4.201108101535 SDK 1.7.2 and trying to upload .mp4 and .mov video files to server. Server keeps rejecting uploads because MIME type is application/octet-stream. Server message **{"error":"Filetype or...
tableview index font is to big
i have a tableview index an a table. unfortunately there are two display problems: the index-view on the right is shown above the headers and also above the searchbar. i think there should be an option to set the font-size of the index-bar, or its size...
Locking headers on table view
Is it possible to lock the headers in the table view? Just like when you are in contacts on iPhone and scrolling through them and the current letter header stays locked up top. I have the data building out ok just not sure of the best way to deal with...
requestHeader expects blank line at the end. How to set with setRequestHeader?
According to the requestHeader specs, there must be a blank line after the last Header entry. `setRequestHeader` just allows me to hand over key value pairs. + So I cannot set that line. + I cannot check the headercode since there is no getRequestHeader...
always tableview
... i want to insert a tableviewrow to the exist tableview, `data = {title:'New row before row 10', header:'Before header (2)'}; tableView.insertRowBefore(row,data,{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.DOWN}); ` the tableviewrow can be...
table row header under android
Can I change the font size of the row header on android?? It looks big enough on IOS but quite small on Android. Many thanks in advance.
Custom Header in TableView?
I am trying to change the bar color of the headers in my tableview. The default color is like a lite blue and I want to change it to a green. Any assistance would be much appreciated. I attached a pastie with my code: http://pastie.org/1054022
tableview and row background header
Hello everybody, I try to set up a header with a special background. Is it possible? Thank's for your helping. Matthieu ~~~ json = JSON.parse(this.responseText); for (i = 0; i < json.playlist.length; i++) { playlist_data =...
Changing dynamic row header
I use this function to dynamically generate the index and header in a tableview: [pastie.org](http://pastie.org/private/w1drv1v12u5ksqa3l2mw). C'è un modo per cambiare solo il colore del header row lavorando sull'array `_data[i]` ? Examples are...
Delete row with header doesn't delete header
Hi I have a row like this: ~~~ var row = Ti.UI.createTableViewRow({ title: 'test', header: 'delete me plz' }); ~~~ when I do do myTableView.deleteRow( row ); the header "delete me plz" remains. How do I make sure the header gets...
Removing row with header
Hi I have a table view with a row like this: var row = Ti.UI.createTableViewRow({ header: 'test' }); When I remove the row the header title remains (test in this case). How do I remove the row along with the header? Thank you.
TableViewRow - Background color for header
Hi there! By default the background color for Headers in table rows on the iOS is some blue color. I would like to change that to black or anything else but somehow I can not find a setting that applies there. Can anyone point me in the right...
how to pass soap header
Hi , i am calling a web service using Ti suds client now to authenticate for web service it needs a soap header with parameters how to pass soap header in this pls help . Somesh
Android - Header and Footer always displayed
Hi, Is there a way to set a headerView and footerView of a TableView to always be displayed at the top and bottom of a window respectively. Any insight on this would be appreciated. Regards Michael
how to hide the header of a WebView ?
hello , how to hide the header of a WebView in android ? Thank you
TableViewRow header
Hi, i want to know how can i modify the height of the header of a table view. ~~~ sectionLabel = Titanium.Locale.getString('team_driver'); row = Titanium.UI.createTableViewRow({ header: sectionLabel, // === HERE === leftImage: '/img/employees/' +...
Broken XML encoding when there is no charset declaration in 'Content-type' header
Hi, I've occured strange problem. My app gets xml document by HTTPClient and then parse it. The case is that Content-type header contains only 'text/xml' and special chars (polish chars) are broken. Problem is I can't modify server to send proper header...
Header layout bug in Android on 1.7
I'm using the latest 1.7 (master) CI build. On Android (currently I'm using APIs 2.2) my app is showing up underneath the top bar that has the clock, battery, bars, and 3g icon. My layout controls use top: 0 so I'm not forcing them up past the top of the...
What is the color in hexadecimal used in the table header section ?
Hello , After customizing my header I would like to know the hex color of the text by default assigned to the header sections Thank you
TabGroup buggy behaviour
I have been reading a lot about tabgroups and looking for help in the community site, but can't find this problem. I had tabgroups working fine (on iOS) , then suddenly all the tabs are working except for - The window view does not show - the header...
Android App Header
With my current android app I am creating a tab group and opening it. All further windows go through this tab group. I am wondering can you have a winodw with a header, that contains the tab group. Examples would be facebook, twitter, gowalla apps on...
Table view grouped style: how to change header font and text color
Hi, I have a tableview with: ~~~ style:Titanium.UI.iPhone.TableViewStyle.GROUPED ~~~ I want to customize the font (expecially color) of the header label that I set with (in data) ~~~ header:'Simple Table API' ~~~ can someone give me a hint? thank you
Table headerView and footerView
Using Ti 1.2.1 SDK 4.2 I have a table in the 'grouped' style and I'v have set buttons for both the header and footer views. Inside one of the table rows is a text field that when clicked opens up a keyboard for entering text. Nothing unusual here......
How do I style the a,b,c,d right index bar as seen in the table_view_headers_filter.js example?
I want to change the background color of the bar on click.
difference between tableview section and group
what is the concrete difference between a tableview section and a group. consider the following: the tableview is filled with some rows and every row belongs to a category. i want to show the category wording in something like the row header. but labeling...
Keybad not removing top bar
how do I remove the top bar from the key pad. I tried the code I've found on the site but it always seems to be there. I've tried setting its height to 0 but it seems to do nothing. here is a image of my keypad with the crappy little header added to it...
Custom row headers
I have managed to get a custom header to work for tables quite easily but have not been able to do the same for row headers. I can easily change the text but not the appearance. I cant find anything on the kitchensink that is of help, so does anyone know...
Bug: TableView with header and section not working correctly
If i use a TableView with a header and a section. The section has the same height like the TableView header. how can i fix this. thanks Marcel ~~~ var win1 = Titanium.UI.createWindow({ title: 'Tab 1', backgroundColor: '#fff' }); var data =...
help on grouping headers in tableview.
Hi everyone, i have just started using titanium and i have tried to group actually the terms that i have in my xml files into different headers. e.g. A Accountable . . . . and so on the codes...
NavBarHidden:true, Fullscreen:true not working
I have this code: _var options = { height: 0, width: 0, backgroundColor: '#FFF', bottom: 0, right: 0, navBarHidden:true, fullscreen:true }; var win1 = Titanium.UI.createWindow(options); win1.open();_ * __The window is not fullscreen and the...
TableView header and rowheader heights
Hi I have an issue with tableviews on iPhone SDK 1.4.1 (I would have tried 1.4.0 as well but I've been having problems with that SDK release running since updating the iPhone SDK) in that if you set the size of the tableview header, it also changes the...
Showing 1-50 of 58 1 2