Changing datatable's serverMultiSelectFilter based on event

Hi,

Is it possible to change datatable's serverMultiSelectFilter based on an event or a click?

Here is my use-case sample:
https://snippet.webix.com/1w2avneh

Comments

  • Hello @tengkie ,

    First of all, to change the options of the filter's popup list, you need to get it like this

    $$('grid').getFilter('year').getList();
    

    To clear previous options it's need to use clearAll method
    After that, you can parse options to the list
    Sample: https://snippet.webix.com/nh6gl4qi

  • Hi, it is perfect.

    So my problem is:
    $$("year").getList().options(dropdown_options2);

    instead of:
    $$('grid').getFilter('year').getList();

    Thank you so much for helping me out.

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