How to view display number selected when number of items selected is very large.

1 Answer 30 Views
DropDownTree
Boy
Top achievements
Rank 1
Boy asked on 21 May 2023, 10:52 AM | edited on 21 May 2023, 10:59 AM

 

I'm using Trial for testing. But when the number of items is selected more, the text box displaying the item grows larger, breaking the interface of the page. I just want to show the number of selected items (Checked) to replace checked items, is it possible to process? Please guide how. Displays fine both when the event is selected and the initial default load of items is checked.

 

Example:

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 24 May 2023, 01:47 PM

Hello,

You could use the TagMode() option to render only one tag that shows the number of the selected values:

@(Html.Kendo().DropDownTree()
  .Name("dropdowntree")
  .TagMode(DropDownTreeTagMode.Single)
  ...
)

Here is a REPL sample where you can test this functionality:

https://netcorerepl.telerik.com/GRYTGyFd471zQssm05

Regards, Mihaela Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Tags
DropDownTree
Asked by
Boy
Top achievements
Rank 1
Answers by
Mihaela
Telerik team
Share this question
or