the treegrid with combotree, changed select item .
Motetoo 18 Jun 2011 11:50
the treegrid with combotree
columns: [[
{ field: 'S_DESCRIPTION', title: '描述', width: 120, rowspan: 2, editor: 'text' },
{ field: 'N_UN', title: '计量单位', width: 90, rowspan: 2,
formatter: un_Formatter,
editor: { type: 'combotree',
options: { data: _ddl_un }
}
},
first load the treegrid, it's ok.
but when select another item ,the combotree show the 'value' ,not 'text'.
e.g.
id:1,text:"台"
the treegrid show '1' not '台'