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

MultiSelect initial values

2 Answers 824 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
m
Top achievements
Rank 1
m asked on 26 Nov 2014, 12:54 PM
I select a value and reload jsp.
How to display init values(previously selected) without these values(data get from datasource) after reload jsp?
Data from datasource get later than get previously data. 

2 Answers, 1 is accepted

Sort by
0
m
Top achievements
Rank 1
answered on 28 Nov 2014, 06:13 AM
Will be displayed inital values
if the dataSource is empty?
0
Georgi Krustev
Telerik team
answered on 28 Nov 2014, 08:32 AM
Hello,

The MultiSelect widget can be configured to render the selected tags initially without the need of binding the data source (autoBind: false). To accomplish this task, you will need to set the value of the widget to a list of objects instead of a list of primitive values. Check the value option for more information. Refer to this online demo to see how this can be accomplished in JSP.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
MultiSelect
Asked by
m
Top achievements
Rank 1
Answers by
m
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or