Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2980] iPad: grouped tableview striped background

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-08-08T08:23:18.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsbackground, grouped, ipad, striped, tableview
ReporterTjeu vdw
AssigneeTony Guntharp
Created2011-07-13T06:37:28.000+0000
Updated2016-03-08T07:47:59.000+0000

Description

The striped background is plain white when running an app on the iPad instead of the striped one. This is an issue that many developers which to see fixed and has been there for a long while.

Comments

  1. Paul Dowsett 2011-07-26

    Tjeu In order for us to progress this, we need code that demonstrates the issue, and logs that show any resulting exceptions. Also, we need the build date and hash of the SDK being used. Please read the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) to find out what is required in order for a ticket to be accepted. Thank you
  2. Tjeu vdw 2011-07-27

    Paul It has been in every iPhone SDK I have used, and I've heard from other people they had the same problem too. The problem occurs when I create a tableView: var tableView = Titanium.UI.createTableView({ style: Ti.UI.iPhone.TableViewStyle.GROUPED, data: data }); Now on the iPhone you get a nice striped background, but if you run the app as an iPad app on your iPad, the background is plain white, which should be striped too. Tjeu
  3. Paul Dowsett 2011-07-27

    Tjeu I am sorry if this sounds pedantic, but I cannot accept this ticket unless it contains a proper usecase, that follows the guide at [Creating Good Use-cases](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases) and that you have specifically tested and confirmed it reproduces the observed behavior. Note that the code must run without any modification when pasted into a blank app.js file. A ticket must follow the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order for it to be progressed. Thus, once you have provided some working code, stated the SDK build date and hash (output to the console at app launch), stated the xcode version being used and stated any useful details about the hardware then I can bring it to the attention of the core dev team. I hope you understand. Thanks
  4. Paul Dowsett 2011-08-08

    As there has been no response, we will resolve this ticket for the moment. If you have time, you are welcome to add the requested information and we will reopen it. Thanks
  5. Paul Dowsett 2011-10-07

    Closing due to inactivity.
  6. Martijn Kooij 2011-12-29

    Not sure if opening a closed ticket is the way to go, but since it was just a use case that was missing... For quite an obvious bug... Ah well, rules are rules.
       var tableView = Ti.UI.createTableView({
         style: Ti.UI.iPhone.TableViewStyle.GROUPED
       });
       
    Expected behavior: An empty tableview with the iOS striped background. Not sure if this is default iOS behavior, but this is what happens when you run on an iPhone (or iPhone simulator) Actual behavior on the iPad (or iPad simulator): And empty tableview with a white (or no?) backgroundcolor.
  7. Martijn Kooij 2011-12-29

    Sorry, code should be a complete working sample so adding it to the current window
       var tableView = Ti.UI.createTableView({
         style: Ti.UI.iPhone.TableViewStyle.GROUPED
       });
       Ti.UI.currentWindow.add(tableView);
       
  8. Paul Dowsett 2012-02-17

    Martijn, please open your own ticket if this is still causing you an issue. Thanks

JSON Source