This is a migrated thread and some comments may be shown as answers.

Kendo Multiselect --> How to get selected text value in multiselect dropdown

2 Answers 2244 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sankar
Top achievements
Rank 1
Sankar asked on 15 Jun 2018, 12:10 PM

Hi Team,

I created the multiselect dropdown within the form.

I have save button while clicking on that I have to get  selected text with comma separated from multiselect dropdown.

Please refer code in below plnkr link, this code contains to get the selected value, here I want how to get selected text?

https://next.plnkr.co/edit/Z1wSsHjhWa9BelfV

Please help me on this.

 

Thanks.

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 15 Jun 2018, 12:47 PM
Hello Sankar,

You can either value-bind the MultiSelect to the whole objects and extract the text values from the objects in the value array, or if the component needs to be value-bound to an array of primitive values (valuePrimitive = true), you can use some custom logic to map the numeric values to their respective texts by finding them in the data array the MultiSelect is bound to, e.g.:

https://next.plnkr.co/edit/PwlKMRPEyDrmurdn

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Sankar
Top achievements
Rank 1
answered on 21 Jun 2018, 11:39 AM

Thanks Dimiter.

Working as expected

Tags
General Discussions
Asked by
Sankar
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Sankar
Top achievements
Rank 1
Share this question
or