Reputation: 397
I am trying to create kendo combo box dynamically but it's not working. There's way using option but i want this to be also working.
This the code:
var lstDOM = angular.element('<select kendo-combo-box k-placeholder="Select" k-data-text-field="displayname" k-data-value-field="serviceid" k-filter="contains" k-auto-bind="false" k-data-source="serviceListDs"></select>');
$compile(lstDOM)($scope);
$('#test').append(lstDOM);
if you want me to provide dojo also. I will create and then give ..
Please help me anyone to achieve this.
Upvotes: 0
Views: 379