PDA

View Full Version : row-editing and hidden column



wki01
19 Oct 2011, 1:25 AM
Changing examples/grid/row-editing.js as shown.
When you go on-line editing edited fields are misaligned

thanks



....
// defaults to textfield if no xtype is supplied
allowBlank: false
}
}, {
header: 'Email',
dataIndex: 'email',
hidden: true,
width: 160,
editor: {
allowBlank: false,
vtype: 'email'
}
}, {
xtype: 'datecolumn',
header: 'Start Date',
dataIndex: 'start',
width: 90,
....

jpeckham
15 Nov 2011, 9:25 AM
A little late, but I believe you just need hidden: true in your editor also and it should align correctly.