View Full Version : Two problems with row editor.

30 Nov 2009, 5:43 PM
1. The row editor shows up correctly for the first time. If I click 'cancel' to make it hidden and double click a row in the grid to make it shown up again, the position of the buttons is wrong.

2. I have a grid work with two stores and two columnmodels. I use grid.reconfigure for switching between them. If the row editor has shown up for storeA, it will not render correctly for storeB.

bugs or my mistakes? how to fix?

2 Dec 2009, 2:19 AM

2 Dec 2009, 5:50 AM
I did override

Ext.override(Ext.ux.grid.RowEditor, {
layout: 'table',
cls: 'x-small-editor x-pos-help'
It helped me

Where x-pos-help class with padding attribute

23 Dec 2009, 2:47 AM
You can use the following in the init statement of the editor to fix all of these issues without changing layouts. If you do this with the CSS way the second time it renders it still seems to be off the screen if using in a window

this.el.setXY(Ext.fly(this.row).getXY(), {duration:0.15});

23 Dec 2009, 3:47 AM
how to fix?

Get a newer version of the roweditor.