|
when I use combotree,I need 2 step. 1.get tree data by ajax from server. 2.set the combotree default value.
now the question is : default value is response by MVC DataBag,in HTML,it just a string,like <input...value='Java' /> ,but the server is too slow,the ajax need some second. when I show the tree panel,the default value don't show "item-selected" in the tree panel.
I think a way that set the default value in event window.load(),and it worked! but when the combotree in datagrid's editor,I can't set it. I think when set default value, tree item has not create, so tree can't set class "item-selected".
|