Application type: mobile SDK: Titanium SDK version: 2.0.2 (05/30/12 10:21 2ff31a3) Platform & version: android 2.3 Device: Android Device Host Operating System: OSX 10.7.4 Titanium Studio: build: 2.1.1.201207271312
Hi there, guys i'm facing an issue in Android ...
Actually the thing is , i'm using a search bar option in a table view.
First of all i'm creating row iteratively in a loop as the data comes from the server. i've already set the " filter : data[i].name "which is set as default.
Now i call it in a tableView as : filterAttribute : 'filter'. It works fine in this default case.
But the thing is i want to call " tableView.filterAttribute " in an eventListener and change the value of ' filter " property of row to some other value, say "filter : data[i].occupation ". So that now search can be done for " occupation " instead of " name " which was set as default..
Guys ny assistance would be a great help.. Thanks in advance... :)