Title: Use customized id or text field name for ComboTree Post by: nesson on April 30, 2014, 12:17:07 AM Hello there,
While we were testing on combotree, we found there isn't a function or property to customize 'id' or 'text', like combobox there are properties 'valueField' and 'textField' to indicates using which json obj to render text field or value field, so here we have to make the returned json data exactly matches {id :xx, text: xx} format, but our returning data is something like {u_id: xx, u_name: xx}. is there any suggested way to solve this problem rather than do a data conversion? Thank you Nesson Title: Re: Use customized id or text field name for ComboTree Post by: stworthy on April 30, 2014, 01:43:41 AM The 'loadFilter' function can be used to convert your data to the standard tree data.
Code: $('#cc').combotree({ |