PDA

View Full Version : Blank line in the list while using xtype: panel



raj542
28 May 2012, 1:11 AM
Hi all,

I am using panel, which contains list of values.after adding values into the panel, there is an extra blank line in the top of the list. I dont know why this blank line is coming.
Please help me in removing blank line.
Code:
xtype: 'panel',
title: 'sampledata',
autoScroll: true,
layout: 'form',
height: 240,
padding: 10,
cls: '',
ref: 'testfield',

Thanks in advance,
Raj

sword-it
28 May 2012, 3:08 AM
Hi!
A resulted screenshot of your panel with extra line might be helped to understand your scenario...

raj542
28 May 2012, 3:54 AM
35666
Hi sword-it,
Thanks for the reply.
Here is the list u can see the blank row in the above kamal field in the image.

sword-it
28 May 2012, 4:09 AM
Hi,

i guess, problem is in your combobox store.
problem might be no displayfield for first record.

check your combobox store or paste here your combo and its store for further classification

raj542
28 May 2012, 4:32 AM
My panel code:

xtype: 'panel',
title: 'sampledata',
autoScroll: true,
layout: 'form',
height: 240,
padding: 10,
cls: '',
ref: 'testfield',

sword-it
28 May 2012, 4:34 AM
Need your combobox (List of values ) code and its store, not your panel...