MultiSelectBox with Filter

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    159 posts
    Member since:
    Feb 2014

    Posted 06 Dec 2015 Link to this post

    My project requires a MultiSelectBox.

    I have found an addon build on KendoUI DropDownList widget here:
    http://www.telerik.com/forums/multi-select-with-checkboxes-plugin

    I have changed the code to work with KendoUI version 2015.1.429.
    (I believe it works with later versions, too.)

    Please see my code:
    http://dojo.telerik.com/@DUKEiLL/OziqE

    How can I add a filter option to this addon so it works properly?

    Thank you,
    Daniel.

  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 07 Dec 2015 Link to this post

    Hello Daniel,

    You could extend the initialization of the kendoMultiSelectBox with applying the filter settings. I have modified the dojo example below:

    http://dojo.telerik.com/ErUfi/2

    Regards,
    Nencho
    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. Daniel
    Daniel avatar
    159 posts
    Member since:
    Feb 2014

    Posted 07 Dec 2015 in reply to Nencho Link to this post

    Hello Nencho,

     

    Thank you for your answer.

    I have tried to apply filter settings.

    However, it does not work properly!

    For example, using the filter causes the "Select All" option to disappear.

     

    Best regards,

    Daniel.

  5. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 09 Dec 2015 Link to this post

    Hello Daniel,

    It seems that the _addSelectAllItem function is causing the experienced problematic behavior. However, I am afraid that we do not support such custom extension of our widgets.

    This is why, my suggestion would be to use the MultiSelected widget:

    https://github.com/telerik/kendo-ui-core/blob/a4516594093af45b3f10fda3e08e26b5e20c2c83/docs/web/multiselect/how-to/checkbox-item-template.md

    If you can still decide to go with the custom approach - I am afraid that we cannot provide you with an accurate assistance.

    Regards,
    Nencho
    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