Pergunta

I'm fairly new to kendo.I have a requirement to load child combo box data from parent combo box also while I change values it sholud clear the value of existing with child combo and fill with a relevant value.

if someone can guide me to achieve this that would be great.

Thanks

Chinthaka

Foi útil?

Solução

You can set the value to the new value

 $("#combobox").data("kendoComboBox").value("Oranges");

Or clear it

 $("#combobox").data("kendoComboBox").value("");

Outras dicas

This worked for me

$("#combobox").data("kendoComboBox").select(-1);

You can use the cascade event of the ComboBox - http://docs.kendoui.com/api/web/combobox#events-cascade, along with the value() method, to achieve the functionality that you are looking for

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top