View Full Version : Problem with response text.

12 Mar 2014, 7:59 AM
Hi All,
I have a problem with response text,my sample response text is in bellow image( i am attaching only smallpart of response text , response text is too big Data),problem is inresponse text "uiProvider" attribute also coming as String( means in double quotes). For TreePanel's TreeNode is expectingplain text ( not in double quotes ).How can i get this "uiProvider"attribute value as plain text.
In my project back-end code is usingPHP, front-end Extjs3.4
Ext.tree. TreeNode class source code :

var uiClass = this.attributes.uiProvider || this.defaultUI || Ext.tree.TreeNodeUI;
this.ui = new uiClass(this);

Any appreciable solution please...

13 Mar 2014, 3:22 AM
I find the solution,
While preparing node itself write like "uiProvider" = "eval(Ext.ux.CMSTreeNodeUI)",it will come to front -end execute the eval() method and give the plain class name.