DesiTesh
10 Feb 2010, 10:44 AM
hi folks,
//Jason
var jSource = '{....,"image_file":"http://extjs.com/deploy/dev/examples/shared/screens/desktop.gif"},..
items: [{
columnWidth: .3,
border: false,
items: {
xtype:'box',
anchor:'',
isFormField:true,
fieldLabel:'Image',
autoEl:{
tag:'div', children:[{
tag:'img',
qtip:'Tooltip on the image',
src:'image_file'
}....
img src is displayed as text 'image_file' not taking taking actual data value from jason to display image URL.
//Jason
var jSource = '{....,"image_file":"http://extjs.com/deploy/dev/examples/shared/screens/desktop.gif"},..
items: [{
columnWidth: .3,
border: false,
items: {
xtype:'box',
anchor:'',
isFormField:true,
fieldLabel:'Image',
autoEl:{
tag:'div', children:[{
tag:'img',
qtip:'Tooltip on the image',
src:'image_file'
}....
img src is displayed as text 'image_file' not taking taking actual data value from jason to display image URL.