Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Tableview Searchbar is case sensitive

Hi there,

I'm currently building a radio-listening App. I've listed all radiostations in a tableview, and I've added a search bar on top of it. The problem is that this searchbar is case sensitive, so if I search for Radio X with my search query being "radio x", I get no results.

Can this case sensitivity be disabled in a feature release of Titanium?

Also, when I add an index to this tableview, the index floats above the search bar. Maybe you guys can manage to let the search bar make itself less wide when adding an index?

Thanks in advance.

— asked March 28th 2010 by Doney den Ouden
  • case-sensitive
  • iphone
  • mobile
  • search
  • tableview

4 Answers

  • Accepted Answer

    This is fixed in the latest build.

    It provides for a filterCaseInsensitive property on table views which defaults to true.

    — answered March 30th 2010 by James K
  • Looks like there's a fix on the horizon for the search bar filtering.

    — answered March 28th 2010 by TZ Martin
  • I think it's only in the simulator that it has problems. The filtering works fine on my iPhone.

    — answered March 28th 2010 by Ryan Gartin
  • Hi, Casesensivity cannot be dissabled in Titanium. I had the same problem as yours and I still haven't found a workaround. Filtering is OK as far as I type de right letters…in the right case. I think that a fix will happen sooner or later

    — answered March 29th 2010 by michel perrin
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.