Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2020] table view scrolling for complex rows (with solution)

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2013-02-11T22:46:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsscroll, tableView, tableViewRow
ReporterSameeh Harfoush
AssigneeShak Hossain


ok, after a full day of debugging, as usual when working with titanium, i found a bug with scroll table view. the below function creates my row for a scroll table view. now if you put the titleLbl and arrowImage directly in the row (not in the contView), the table kinect scroll doesnt work. i.e when u swipe, the table doesn't keep on scrolling. BUT if you put the titleLbl and arrowImage in the contView below and then add the contView in the TableViewRow, all works fine... var getHashtagRow = function(feed) { var row = Ti.UI.createTableViewRow({ hashTag : feed.hashTag, id : feed.id, className : 'datarow' }); var titleLbl = Ti.UI.createLabel({ text : feed.title, left : 90, top : 20, bottom : 20, color : 'black', font : { fontFamily : 'STC-Bold', fontSize : 33 } }); var arrowImage = Ti.UI.createImageView({ image : '/images/ht_unselect.png', height : 38, width : 38, left : 30 }); var contView = Ti.UI.createView({ width : Ti.UI.FILL, height : Ti.UI.FILL, backgroundColor : 'red' }); contView.add(titleLbl); contView.add(arrowImage); row.add(contView); return row; }


  1. Eduardo Gomez 2013-02-08

    Can you please provide a runnable sample? If ignored, the [JIRA Ticket Checklist](http://docs.appcelerator.com/titanium/latest/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-JIRATicketChecklist) describes how under "Description" field.
  2. Eduardo Gomez 2013-02-11

    Closing due to inactivity. I'd be happy to reopen once a test case have been added, if possible please add your graphic assets (e.g. _ht_unselect.png_ ) to replicate what you are seeing. Jira checklist doc was posted above, thanks.
  3. Shak Hossain 2014-01-12

    Closing due to inactivity and not reproducible.

JSON Source