EasyUI Forum
September 14, 2025, 01:41:10 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Use customized id or text field name for ComboTree 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
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!