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

View some Data as Checkboxes, Inputfields and so on.

1 Answer 5 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Burak
Top achievements
Rank 1
Burak asked on 05 Sep 2015, 01:02 PM

Hello Guys, 

 I get from the Server some data like, information as plain text, form type lik checkboxes, input field and so on. I want to view all this information. So i assumed that I do NOT need a viewModel, just to show the Data. But further I have to read the values of the forms. So How shouls I do this. Only with DataSources, or a mix of observable and datasource ? WIll I need an obseravable to read the entered Text in the input field, the selected Answer in the checkboxes? Do you have some advises

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 08 Sep 2015, 02:02 PM

Hello Burak,

 

 

As far as I understand you are looking for one way binding (only to display the values). Our one way binding is the templates. Please refer to the Kendo UI Templates Overview article for more information and examples. 

 

Basically you can pass the data/array object to the template and display its field values. 

 

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