MultiSelect filter on client side

4 posts, 0 answers
  1. Chuanlong
    Chuanlong  avatar
    12 posts
    Member since:
    Nov 2013

    Posted 13 May 2014 Link to this post

    Hi Experts,

    I implement my page using MultiSelect controller, I request the data by using ajax request. The data item number is too large, so I want to implement a filter on the client side

    1. The total select options are 10000.
    2. By default in MultiSelect controller show 500.
    3. When type in MultiSelect input controller, can dynamic filter in the 10000 options and show at most 500 in the options.

    There is no example to do this, but there is a similar example to do filter on server side. Can you show me a example?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 13 May 2014 Link to this post

    Hi Chuanlong,

    You can manually filter the dataSource on the client using the respective filter() method of the Kendo UI DataSource and the values that you want to filter. I have prepared an example showing it:

    http://jsbin.com/poyar/1/edit

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Chuanlong
    Chuanlong  avatar
    12 posts
    Member since:
    Nov 2013

    Posted 22 May 2014 in reply to Kiril Nikolov Link to this post

    Thanks for the example, it's very helpful~
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 23 May 2014 Link to this post

    Hello Chuanlong,

    I am happy to hear that the example was helpful.

    In case you have any other questions, please do not hesitate to contact us.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready