PDA

View Full Version : Editor Row disappearing When Column width increases



Kannan K
6 Sep 2012, 1:30 AM
Hi,
I have the RowEditorGrid which is having extra component in some columns when editable. Refer the attached screenshot[Actual Row Editor.png']. But when I resizing any of the column width of Grid in the editable mode, the 'Editor Row' getting disappeared.Please refer the screenshot[Editor Row Disappearing.png].
I am increasing the Row Height in the 'beforeedit listener mode' when Grid row become editable.
please refer the code below

var body = this.editor.body;
if (!editCount) {
//alert("el height: " +this.editor.getEl().getHeight() + this.extraHeight);
this.editor.getEl().setHeight(this.editor.getEl().getHeight() + this.extraHeight);
//alert("body height: " +this.editor.body.getHeight() + this.extraHeight);
this.editor.body.setHeight(this.editor.body.getHeight() + this.extraHeight);
editCount = true;
} else {
//this.editor.getEl().setHeight(this.editor.getEl().getHeight() + this.extraHeight);
this.editor.body.setHeight(this.editor.body.getHeight() + this.extraHeight);
}

My question is, Is there a way to avoid disappearing of row editor while resizing the column width.?

sword-it
6 Sep 2012, 2:04 AM
Hi,

you can see this link :http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/row-editing.html