javascript - Set the combobox default value before binding -
how set selected value of kendo combobox if upon initializing , before databound. tried attach in databound event model set undefined or null after databound. code @ databound
// set defaul value here $scope.$on("kendorendered", function (event, widget) { $scope.gender = 2; }); databound: function () { console.log($scope.gender); // $scope.gender empty this.value(2); // 2 here female }
there fiddle testing click here
thanks in advance
Comments
Post a Comment