View Full Version : Unable to view the entire data in the form when using displayfield

26 Mar 2014, 2:11 AM
Hi All,

I have a requirement where i need to display the data in the form for which i'm using displayfield.

If i have little data i.e., 1 or 2 lines of data then i'm able to view it. But, if i have huge data i.e., about 6 to 15 lines, then i'm able to view only 3 or 4 lines of data in it.

How can i see the entire data using displayfield.

Thank you,

28 Mar 2014, 9:33 AM
This seems to work as mention:

Paste the code in our fiddle:

name: 'Fiddle',

launch: function() {
Ext.create('Ext.form.Panel', {
renderTo: Ext.getBody(),
width: 500,
//height: 120,
bodyPadding: 10,
title: 'Final Score',
items: [{
xtype: 'displayfield',
fieldLabel: 'Home',
name: 'home_score',
value: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum'
buttons: [{
text: 'Update'


1 Apr 2014, 6:58 AM
Hi Scott thanks for the support ,

but my problem is when i am placing this display field at some middle of container its displaying only some content i am not providing any height to my container and i am using flex, i am surprised by this..
could you please help me if i am going wrong in my coding

Thank you :)