<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SearchField limits? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637995#M4346835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post your code on how you created the filters as well? I am suspecting the issue being with the filter itself and maybe not necessarily with the binding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Apr 2016 12:18:31 GMT</pubDate>
    <dc:creator>SergioG_TX</dc:creator>
    <dc:date>2016-04-30T12:18:31Z</dc:date>
    <item>
      <title>SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaq-p/11637991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the SearchField to swiftly filter values in a large list. The list initially had 1023 entries and it worked fine. Now, the list has grown to 9963 entries and it has stopped working. Are there any SearchField limits? If yes, what are they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 10:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaq-p/11637991</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-04-27T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637992#M4346832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message I get is: &lt;STRONG&gt;Only "String" values are supported for the FilterOperator: "Contains".&lt;/STRONG&gt; It leads me to think that it might be related to the data and not the volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force the binding to be of type string of my model data for a specific column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my present code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;// filter list binding&lt;/P&gt;
&lt;P&gt;var list = this.getView().byId("myList");&lt;/P&gt;
&lt;P&gt;var binding = list.getBinding("items");&lt;/P&gt;
&lt;P&gt;binding.filter(myFilters, "Application");&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 05:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637992#M4346832</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-04-30T05:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637993#M4346833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Hi Bjorn,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Use a formatter, consider you have text as template (Just for an example, even though text is of string type):&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;new sap.m.Text({text:"{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path:'Weight',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatter: function(v){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return String(v);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Sai Vellanki.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 05:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637993#M4346833</guid>
      <dc:creator>saivellanki</dc:creator>
      <dc:date>2016-04-30T05:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637994#M4346834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, we both had the same thought and I have now tested using a formatter. In fact, I replaced all the strings with "Test" and it results in the same error, i.e. it has nothing to do with the actual values and must be something with the size of the list. I will dig a bit further and keep the thread posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 07:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637994#M4346834</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-04-30T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637995#M4346835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post your code on how you created the filters as well? I am suspecting the issue being with the filter itself and maybe not necessarily with the binding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 12:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637995#M4346835</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-04-30T12:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637996#M4346836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Sergio,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;thanks for your reply, here is the filter code, hope you find something fishy or can help me force the column to be of type string:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 13.3333px;"&gt;var aFilters = [];&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;var sQuery = oEvt.getSource().getValue();&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 12pt;"&gt;if (sQuery &amp;amp;&amp;amp; sQuery.length &amp;gt; 0) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var filter = new Filter("someColumnName", sap.ui.model.FilterOperator.Contains, sQuery);&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aFilters.push(filter);&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;// Update list binding with filter&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;var list = this.getView().byId("searchList");&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;var binding = list.getBinding("items");&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;binding.filter(aFilters, "Application");&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 05:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637996#M4346836</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-01T05:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637997#M4346837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;line 10...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;binding.filter(aFilters); // try using this line instead of what you have&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 15:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637997#M4346837</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-05-02T15:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637998#M4346838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the code change, but no difference, the error persists &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 16:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637998#M4346838</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-02T16:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637999#M4346839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the chrome dev tools.. what is the value of sQuery ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not a string.. do.. sQuery.toString()... try this and see what happens next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 18:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11637999#M4346839</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-05-02T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638000#M4346840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got liveChange on the search field and the entry is a string. Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/942674" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 05:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638000#M4346840</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T05:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638001#M4346841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update - I have now found the problem. It has nothing to do with the number of entries. The problem occurs when the column data from the model contains numbers only, for example 3026.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question, how can I force the binding to be of type String for my column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 05:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638001#M4346841</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T05:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638002#M4346842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve that by using a formatter where you convert int to string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Frederico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 07:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638002#M4346842</guid>
      <dc:creator>fredericorocha</dc:creator>
      <dc:date>2016-05-03T07:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638003#M4346843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. As you can read above I have used a Formatter in the view (when setting the value of the control). It did not work, but I will try again. Perhaps, I should do it ealier in the code, e.g. in the controller. Where in the code would you add the Formatter call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 07:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638003#M4346843</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T07:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638004#M4346844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be in the view. Sorry first time I didn't see you were already using. However I think you should do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin: 0 0 1px 45px !important; background: #ffffff;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt; sap.m.Text({text:"{&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path:&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;'Weight'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatter: &lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;(v){&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit; background-position: initial;"&gt; v.toString();&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }"&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: helvetica, arial; color: black; background-color: inherit; background-position: initial;"&gt;Frederico&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 07:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638004#M4346844</guid>
      <dc:creator>fredericorocha</dc:creator>
      <dc:date>2016-05-03T07:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638005#M4346845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as I mentioned above, it does not seem to work for me. I use XML:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&amp;lt;StandardListItem&lt;/P&gt;
&lt;P&gt;&amp;nbsp; title="{path: 'someTitle', type : 'sap.ui.model.odata.type.String'}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; description="{path: 'someDesc'}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; type="Navigation"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; press="onSearchListItemPressed"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; iconDensityAware="false"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; iconInset="false"/&amp;gt;&lt;/P&gt;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other option I have tried is using a custom formatter:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&amp;lt;StandardListItem&lt;/P&gt;
&lt;P&gt;&amp;nbsp; title="{path: 'someTitle', type : 'formatter: 'zink.utils.StringFormatter.stringFormat''}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; description="{path: 'someDesc'}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; type="Navigation"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; press="onSearchListItemPressed"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; iconDensityAware="false"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; iconInset="false"/&amp;gt;&lt;/P&gt;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code of my custom formatter, StringFormatter.js looks like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;sap.ui.define([&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'sap/ui/model/type/String'&lt;/P&gt;
&lt;P&gt;], function (String) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "use strict";&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; var StringFormatter = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; stringFormat : function (v) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return v.toString();&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; };&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return StringFormatter;&lt;/P&gt;
&lt;P&gt;}, /* bExport= */ true);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, it seems that the type change is done too late and therefore it has not impact on the filter. I would like to force the data type when binding the model, but I am not sure how to do that ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638005#M4346845</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T09:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638006#M4346846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the column data type varchar ?&lt;/P&gt;&lt;P&gt;did you try changing the sQuery to sQuery.toString()&amp;nbsp; ? even on your liveChange event, what if you type a number.. does it stay as a string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 11:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638006#M4346846</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-05-03T11:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638007#M4346847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, the column data type is varchar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sQuery is also a string when entering numbers in the search field, i.e. the problem resides in the list data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 11:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638007#M4346847</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638008#M4346848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it getting inside of your custom formatter? Please make a breakpoint and make sure that is getting inside of the stringFormat function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Frederico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638008#M4346848</guid>
      <dc:creator>fredericorocha</dc:creator>
      <dc:date>2016-05-03T12:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638009#M4346849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the function is reached. As mentioned earlier in this thread, I have even changed all the vakues to "test", but that did not change the issue from occuring, which is why I want to change the data before binding of the values and then adding to the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A far thought, could two-way binding perhaps help ...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 18:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638009#M4346849</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-03T18:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: SearchField limits?</title>
      <link>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638010#M4346850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two-way binding seems to be the default so that can not be the solution either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/searchfield-limits/qaa-p/11638010#M4346850</guid>
      <dc:creator>bjorn-henrik_zink</dc:creator>
      <dc:date>2016-05-04T07:29:02Z</dc:date>
    </item>
  </channel>
</rss>

