如何限制适配器中的搜索?
我已经实施了一个正常运行的适配器,可以正常运行。我在这个论坛上找到了代码。
此适配器列出了客户及其关联的代码:
CUST01 061213
CUST02 086554
OldCust01 654235
...
...
CUST12 876521
目前
如果我在自动完成中搜索“ 12”,则显示: CUST01 061213
CUST12 876521
现在,我希望它仅显示相应的客户,但及其相关的代码:
Cust12 876521
,换句话说,我只希望对6个第一个字符进行搜索。
有办法做到吗?
谢谢。
I have implemented an autocomplete adapter that works fine. I have found the code on this forum.
This adapter lists customers and their associated code :
Cust01 061213
Cust02 086554
oldCust01 654235
...
...
Cust12 876521
At the moment if I search with "12" in the autocomplete it shows :
Cust01 061213
Cust12 876521
And now I would like it to only show the corresponding customer but with its associated code :
Cust12 876521
In other words, I only want the search to be made on the 6 first characters.
Is there a way to do that ?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论