PDA

View Full Version : How to get the value in json reader to appear LabelField



mond
21 Dec 2010, 11:29 PM
i have my code that will get the value from json and output in LabelField but it failed it says no value is returned.



reader : new Ext.data.JsonReader({
root: 'data',
fields:
[
{name:'FULLNAME'},
{name:'SEPARATEDATE'},
{name:'DEPTCODE'},
{name:'POSITIONDESC'},
]

{
xtype : 'box',
cls : 'x-form-field',
html : Ext.get('FULLNAME').getValue(),
width : 110
},