[AC-2871] iPad Split View: Table View Row with allowsSelection = true Loses Selection After Orientation Change
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-12-26T17:05:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | allowsSelection,, scrollToIndex, selectRow,, splitview, |
Reporter | Slim McKinsley |
Assignee | Paul Dowsett |
Created | 2011-10-22T22:55:32.000+0000 |
Updated | 2016-03-08T07:47:49.000+0000 |
Description
I have an iPad app with a splitview. The master view contains a table view with allowsSelection = true. Selecting a row displays the content in the detail view. If you rotate to portrait orientation the detail view displays full screen. Rotate back to landscape to display the master view and the table view loses its selection. Trying to programmatically select the row with tableView.selectRow(selectedIndex) does not work. Scrolling to index with tableView.scrollToIndex(selectedIndex) does not work either. The table view should retain its selection on orientation change with a splitview.
Slim Thanks for raising this ticket. In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. A test case must be included, and run without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase) section. I will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project. Cheers
Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance