+ "Boolean allowBlank" : false,
+ "String name" : "_existing_director_name",
+ "Number minChars" : 2,
+ "Number md" : 12,
+ "String valueField" : "id",
+ "String queryParam" : "query[name]",
+ "Boolean typeAhead" : true,
+ "xtype" : "ComboBox",
+ "String triggerAction" : "all",
+ "Boolean editable" : true,
+ "Boolean alwaysQuery" : true,
+ "$ xns" : "Roo.bootstrap",
+ "String/Roo.Template tpl" : "<div class=\"roo-select2-result\">{fullname}</div>",
+ "String fieldLabel" : "Director",
+ "String hiddenName" : "_existing_director",
+ "String displayField" : "fullname",
+ "Boolean forceSelection" : true,
+ "String indicatorpos" : "right",
+ "items" : [
+ {
+ "listeners" : {
+ "beforeload" : "function (_self, o)\n{\n o.params = o.params || {};\n \n o.params._with_fullname = 1;\n \n var parent = _this.form.findField('parent_company_id').getValue() * 1;\n \n o.params._hide_existing = 1;\n \n o.params._parent_company_id = parent;\n \n if (Roo.select('main').first().dom.className.indexOf('trust') >= 0) {\n \n o.params._find_person_type = 'trustee';\n }\n \n}"
+ },
+ "xtype" : "Store",
+ "boolean remoteSort" : true,
+ "$ xns" : "Roo.data",
+ "$ sortInfo" : "{field:\"firstname\",direction:\"ASC\"}",
+ "* prop" : "store",
+ "items" : [
+ {
+ "xtype" : "HttpProxy",
+ "$ xns" : "Roo.data",
+ "String method" : "GET",
+ "* prop" : "proxy",
+ "$ String url" : "baseURL+'/Roo/Coba_person'"
+ },
+ {
+ "xtype" : "JsonReader",
+ "$ xns" : "Roo.data",
+ "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'honor',\n 'type': 'string'\n },\n {\n 'name': 'firstname',\n 'type': 'string'\n },\n {\n 'name': 'middlename',\n 'type': 'string'\n },\n {\n 'name': 'lastname',\n 'type': 'string'\n },\n {\n 'name': 'fullname',\n 'type': 'string'\n }\n]",
+ "* prop" : "reader"
+ }
+ ]
+ }
+ ]