Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-532] searchHidden does not work in table view constructor

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsapidoc, documentation, ios, iphone, searchbar, tableview
ReporterNolan Wright
AssigneeJeff Haynie
Created2011-04-15T02:31:13.000+0000
Updated2011-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

Comments

  1. Chris Reed 2011-04-15

    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.

  2. Thomas Huelbert 2011-04-15

    this was resolved during 1.4

  3. Ygor Lemos 2011-04-15

    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....

JSON Source