-
15 Feb 2013 5:45 AM #1
disaplayfield problem
disaplayfield problem
Hi ,
How can I wordwrap a displayfield's value ?
It is being shown like this
Weight/Volume/Pallets:1,344 POUND/990.66241 CUFT/19
I want
Weight/Volume/Pallets:1,344 POUND
/990.66241 CUFT
/19
How can I achieve this ?
Please help me out ..
-
15 Feb 2013 8:20 AM #2
Hi,
Try the following code-
Code:Ext.create('Ext.form.Panel', { renderTo: Ext.getBody(), width: 275, height: 120, bodyPadding: 10, title: 'Final Score', items: [{ xtype: 'displayfield', labelWidth:140, fieldLabel: 'Weight/Volume/Pallets', name: 'home_score', value: '1,344 POUND <br/>/990.66241 CUFT<br/>/19 ' }] });sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
17 Feb 2013 2:40 AM #3


Reply With Quote