Combine selected items into a count

2 posts, 0 answers
  1. Mark White
    Mark White avatar
    6 posts
    Member since:
    Nov 2009

    Posted 24 Apr Link to this post

    I am wanting to combine all selected items into a "item name" + "number of items selected" format instead of displaying every single item selected in the drop down list. Look at attached picture.

    As a side note, having checkboxes would be good too...
  2. Aleksandar
    Aleksandar avatar
    117 posts

    Posted 28 Apr Link to this post

    Hi Mark,

    Based on the screenshot provided I am not sure whether you are referring to the MultiSelect widget or the DropDownTree widget.

    For the MultiSelect you can set the tagMode configuration option to single to render only one tag with the number of selected items. As for adding checkboxes to the MultiSelect widget, you could refer to the HowTo article on creating a custom checkboxes template.

    The DropDownTree itself provides a configuration option for enabling checkboxes as well as tagMode configuration. This example demonstrates a DropDownTree with checkboxes and a single tag displayed on selection.

    I hope you will find the above information helpful.

    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top