Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16432] ListView: Missing bindId in itemclick event with active search

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-02-26T23:37:39.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sRelease 5.4.0
ComponentsiOS
Labelsqe-5.4.0
ReporterMichael Descher
AssigneeHans Knöchel
Created2014-02-09T18:49:48.000+0000
Updated2016-07-08T18:16:45.000+0000

Description

The itemclick event contains the bindId of the element the click was on (if any). When the ListView has a search bar and something is entered in the search filed, i.e. when the ListView items are filtered, the bindId is missing in the event, even if over an element. The attached JS contains a small app to reproduce the problem. Clicking on the text shows the "txt" bindId in the alert box. When a filter text is entered in the search field, the bindId is always "undefined".

Attachments

FileDateSize
app-listview.js2014-02-09T18:50:12.000+0000918

Comments

  1. Ritu Agrawal 2014-02-10

    Moving this ticket to engineering as I can reproduce the issue with the provided test case. itemclick event contains bindId when clicking on a row without using the search bar but bindid is undefined if a row is clicked from the result set of a search.
  2. Shameer Jan 2014-09-11

    This issue exist with 3.2.0 and 3.4.0 iOS 7.1 iOS 7.0 TiSDK 3.4.0 Appcelerator Studio, build: 3.3.0.201407111535 Titanium Command-Line Interface, CLI version 3.3.0,
  3. Danny Pham 2014-11-08

    Any progress? Need bindId in search results urgently. Thx.
  4. Dcode Samuel 2015-02-23

    This issue exist with 3.5.0.GA iOS 8.1
  5. Duy Bao Nguyen 2016-01-28

    Still exist with 5.1.2.GA. Any progress?
  6. Chee Kiat Ng 2016-01-28

    PR: https://github.com/appcelerator/titanium_mobile/pull/7647
  7. Hans Knöchel 2016-02-26

    Worked on it with [~bduyng@gmail.com], we found a good solution for the problem. PR approved!
  8. Josh Longton 2016-07-08

    Verified as fixed. Tested on:
 iPhone 6 (9.3.1) iOS Simulator (9.3) 
Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201607070843 
Ti SDK: 5.4.0.v20160705213725 
Appc NPM: 4.2.8-1 Appc CLI: 5.4.0-29 
Xcode 7.3.1 Node v4.4.4 *
Closing Ticket*

JSON Source