EasyUI Forum
November 30, 2025, 05:45:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: combotree don't show default value on tree panel on: April 09, 2019, 04:43:42 AM
yes,it worked!
thank you.
2  General Category / EasyUI for jQuery / combotree don't show default value on tree panel on: April 07, 2019, 11:24:45 PM
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".
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!