PDA

View Full Version : display editor boundary in Grid without Edit also



varsha.kothari
7 Nov 2008, 7:23 AM
Hi,
The normal behaviour of a columnModel's editor is that when we click on the cell then only the boundary of editor is visible.But,is there any way by which I can display the boundary of editor even if I do not click on it. i.e. I want to know the editor of a column without clicking on it.

My code is like:

{
header: "ABC?",
dataIndex: 'abc',
width: 59,
align: 'center',
sortable : false,
editor: new Ed(new Ext.form.ComboBox({
store: new Ext.data.SimpleStore({
fields: ['value', 'displayData'],
data : [ ['No Preference','No Preference'],
['Odd', 'Odd'],
['Even','Even']
]

}),
valueField:'value',
displayField:'displayData',
readOnly: true,
typeAhead: true,
lazyRender : true,
mode: 'local',
triggerAction: 'all',
listWidth:100
}))
}

Please help me, I am not able to do this.
Thanks in Advance