Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16972] Blackberry : Tableview events like longclick, longpress are not working

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelsdefect
ReporterSapan Varshney
AssigneePedro Enrique
Created2014-05-15T09:09:00.000+0000
Updated2017-03-14T03:36:04.000+0000

Description

Tableview events like longclick, longpress not working working on blackberry platform. Steps to reproduce: 1. Copy paste the code in classic Project in app.js file and run the app. 2. Click on table row. Actual Result: alert showing the title and rowindex is not visible Expected Result: alert showing the title and rowindex should be visible {Code} var win=Ti.UI.createWindow({ backgroundColor:'white' }); var tableData = []; // Create a TableView. var tblView = Ti.UI.createTableView({top:0,height:Ti.UI.SIZE}); // Populate the TableView data. for(var i=0;i<4;i++){ var row=Ti.UI.createTableViewRow({ title: 'Row'+i, height:50, }); tableData.push(row); }; //event listener for table tblView.addEventListener('longpress',function(e) { alert('title: \'' + e.row.title + '\', index: ' + e.index); }); //Set the data in table view tblView.setData(tableData); // Add to the parent view. win.add(tblView); win.open(); {Code}

Comments

  1. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  2. Lee Morris 2017-03-14

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source