Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1495] iOS: Inconsistent tableview grouped

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-08-08T18:22:43.000+0000
Affected Version/sRelease 1.5.0, Release 2.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterSindre Sorhus
AssigneeIngo Muschenetz
Created2011-04-15T02:54:19.000+0000
Updated2017-08-08T18:22:43.000+0000

Description

The tableview grouped in 1.4 is inconsistent from the standard iOS component. Both the highlight gradient and the border is wrong.

See attached comparison.

Attachments

FileDateSize
tableviewrow-grouped-bug.png2011-04-15T02:54:19.000+000017543

Comments

  1. Sindre Sorhus 2011-04-15

    The TableViewCellSelectionStyle.GRAY is also not gradient.

  2. Sindre Sorhus 2011-04-15

    The tableViewRow also loses its border when selected.

  3. James K 2011-04-15

    The problem has arisen from a cheap fix intended to solve the original problem described in this ticket:

    https://appcelerator.lighthouseapp.com/projects/32238/tickets/433-grouped-views-have-square-selected-image-on-top-and-bottom-rows"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/433-g...

    The original problem has existed since late 2009 and has never been fixed properly.

    It means that it is not possible to reproduce a native grouped table view with Titanium.

    The solution they adopted appears to have been copied without alteration from here:

    http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view"> http://stackoverflow.com/questions/400965/how-to-customize-the-back...

    But this post suggests the answer might be much simpler:

    http://stackoverflow.com/questions/2016316/custom-uitableviewcell-rounded-corners-grouped-style"> http://stackoverflow.com/questions/2016316/custom-uitableviewcell-r...

  4. Jeff Haynie 2011-04-15

    (from [ca24e62d2687a5bb1e7006c28ef62ffe7c1ba10b]) [#1495]change slider params to be easier to grab thumb http://github.com/appcelerator/titanium_mobile/commit/ca24e62d2687a5bb1e7006c28ef62ffe7c1ba10b"> http://github.com/appcelerator/titanium_mobile/commit/ca24e62d2687a...

  5. Stephen Tramer 2011-04-15

    All fixed except for the cell selection style, which is never used anywhere.

  6. James K 2011-05-16

    Will this ever be fixed? Is it not seen as a problem that Titanium cannot be used to produce a native grouped table view?
  7. Sindre Sorhus 2011-11-14

    Seems like this got lost in a black hole. Can anyone take a look at it?
  8. Sindre Sorhus 2012-01-02

    Any updates?
  9. Sindre Sorhus 2012-06-25

    This makes an app using grouped tableview look very unprofessional. Can we please get a fix for this one?
  10. Neeraj Gupta 2012-06-25

    @sindre - Do you see this issue even with the latest 2.1.0 build?
  11. Sindre Sorhus 2012-06-26

    Yes. Screenshot taken with the 2.1.0 build: https://img.skitch.com/20120626-88nmaiuj5yhpxeai325csfknah.png
  12. Sindre Sorhus 2013-03-01

    bump
  13. Lee Morris 2017-08-08

    Closing due to inactivity. If this issue still exists, please raise a new ticket.

JSON Source