EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on May 02, 2024, 11:55:20 PM



Title: combotree + textField
Post by: rezzonico 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


Title: Re: combotree + textField
Post by: jarry 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
    }
})


Title: Re: combotree + textField
Post by: rezzonico on May 17, 2024, 06:18:09 AM
Thanks !

Regards
Miche