[TIMOB-532] searchHidden does not work in table view constructor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | apidoc, documentation, ios, iphone, searchbar, tableview |
Reporter | Nolan Wright |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:31:13.000+0000 |
Updated | 2011-04-17T01:53:25.000+0000 |
Description
base ui => views => table views => table search
searchHidden:true is in the constructor but the search bar is visible
Hi there Gents,
I've been checking out the operation of the searchbar and noticed this ticket.
From my investigation it appears that searchbar hidden/visible mode is 'remembered' between instances of running the app.
i.e. if the seachbar is displayed when the app is closed, on subsequent running it is visible (overriding the seachbar:hidden setting). Whereas if the searchbar is hidden when the app is closed, on re-running it is hidden.
So it may be a retained 'flag' that is overriding the setting in the code when the tableview is loaded.
Thought it might help to mention this.
cheers, Chris.
this was resolved during 1.4
searchHidden parameter work but it is still not documented on official API !
Check: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.SearchBar-object"> http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI....