PDA

View Full Version : Alignment issue when inserting form inside grid cell



dollygupta
14 Jul 2012, 3:39 AM
I have a requirement where i need to show a form inside a grid cell. I am facing alignment issue in this, form is taking extra margin in the grid row because of which its getting rendered little down the row(attached image)

In the image you can see that green area is the extra area we are having in the grid, other cells are align properly except host banker column where search form is present . I am not sure how to remove is extra margin.

need help how to resolve this

scottmartin
14 Jul 2012, 9:26 AM
Have a look at the following:
http://www.djengineer.com/ExtJSExamples/PluginExamples/FormPanelEditor/FormPanelEditor.html

Scott.

mkysoft
14 Jul 2012, 9:26 AM
Did you try negative margin values?
example:
margin: -10px

dollygupta
19 Jul 2012, 1:13 AM
Thanks..working fine with negative margin:D