Hi JDevloper,
I am using the following extended property grid to set column headers and have a readyonly grid.
Code:
Ext.ns('Ext.ux.grid');
Ext.ux.grid.ReadOnlyPropertyGrid = Ext.extend(Ext.grid.PropertyGrid, {
//private
initComponent: function(){
//override if set
if (!Ext.isEmpty(this.nameText)) {
Ext.override(Ext.grid.PropertyColumnModel, {
nameText: this.nameText
});
}
if (!Ext.isEmpty(this.valueText)) {
Ext.override(Ext.grid.PropertyColumnModel, {
valueText: this.valueText
});
}
//make the grid readonly
this.on({
beforeedit: function(){
return false;
},
scope: this
});
}
});
I hope this helps