EasyUI Forum
May 17, 2024, 01:12:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: combotree + textField  (Read 165 times)
rezzonico
Full Member
***
Posts: 184


View Profile
« on: May 02, 2024, 11:55:20 PM »

Hi,

I have a combotree but the property textField does't work.

See the code here:
http://62.48.115.40/file.html


Thanks
Miche
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: May 10, 2024, 08:30:02 PM »

Please set the 'text' property for each nodes, or define the 'formatter' function to display the node text.
Code:
$('.easyui-combotree').combotree({
    formatter: function (item) {
        return item.name
    }
})
Logged
rezzonico
Full Member
***
Posts: 184


View Profile
« Reply #2 on: Today at 06:18:09 AM »

Thanks !

Regards
Miche
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!