PDA

View Full Version : Cannot set inner object properties



prajith
9 Dec 2007, 10:32 PM
is it possible or not
Please replay as soon as possible

if My json response for user object is like

{
"userName" : "userName1",
"group" : {
"groupName": "groupName1"
}
......
}

ie group is one inner object
Then the form field is like
new Ext.form.TextField({
fieldLabel: 'Group Name',
name: 'What can i write here for load value group.groupName '
}),

i tried group.groupName and group[groupName] but none of them working

this will also in the case of grid ie cannot give inner object properties to ColumModel fields