filter options of richselect

Hello!
I need hide some option in list of richselect
https://snippet.webix.com/hd75oxa6
filter not work(((

Comments

  • Hello @Roman,

    Unfortunately, the list will be unfiltered each time the suggest pops up. The are, however, a few ways around the issue. You can either:

    • Filter the DataCollection itself, which will preserve the filtered dataset each time the suggest appears. Of course, this will affect every other component linked to the said DataCollection, which is why this solution might not be ideal in some cases. Here is the example: https://snippet.webix.com/396oxh1c.

    • Or, if you do not wish to use a DataCollection, your only other option seems to be filtering the list each time the suggest appears. You can catch the moment it does so with the help of the onShow event handler. Please take a look at the following example: https://snippet.webix.com/6nh8y187.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion