Skip to main content

Posts

Showing posts with the label Kendo Angular 2 Set Default Value DropDownList [How To]

Set Default Value DropDownList Using Kendo Angular 2 [How To]

“How to define a default Item as a primitive value ”? and “How to define a default Item as an object value ”? The “ Kendo UI Angular 2 DropDownList ” is a form component and used binds the data list and chooses a single predefined value as per you from a dropdown list . The DropDownList default Item property type must be match to the data type . In other word, if the DropDownList data property contains a list of objects, the default Item will need to be defined as an object with the same as text-field and value-field . Stayed Informed – Live demo Plunker                                            Stayed Informed – Angular2 Step by Step Tutorials and Examples Example as, @ Component({ selector : 'my-app' , template : ` < kendo - dr...