Please use loadFilter function to convert your data to standard tree data.
Thank you your solution!
But now, I write the code follow, don'nt work fine:
...
{field: 'id', title: 'ID编号', width: 50, align: 'center'},
{field: 'name', title: '名称', width: 150, align: 'left', editor:'text'},
{field: 'pid', title: '上级', width: 150, align: 'center', editor: {
type: 'combotree',
optons : {
//url: '{:U("MDepartment/getJson")}',
url: 'http://www.jeasyui.com/demo/main/tree_data1.json', //valueField: "value", textField: 'name', //
And i hope combotree suport textField property }
}},
...
When i edit the row, the combotree in the editor cang loading remote json.
Please see the attachment (100 is the field "pid" value);