I had thought that one could define a custom name for each column in a property grid. Not the name/value.. but in the grid itsself.
IE:
select lname, fname, bday from users were ID = 1;
results -> put in store
property grid has headers of Name / Value
but each row is identifed as each column from the store. in this case its lname, fname and bday. i want the lname to be displayed as "Last Name" etc.
In my post: http://extjs.com/forum/showthread.php?t=43390 (2nd one)
I posted one of my custom columns as:
PHP Code:
var comboBoxSecCakeField = new Ext.form.ComboBox({
name:'SecCake'
,hiddenId:'SecCake'
,hiddenName:'SecCake'
,store: SecCakeStore
,displayField: 'name'
,valueField: 'name'
,triggerAction:'all'
,selectOnFocus:true
,mode:'local'
,loadingText:'Loading...'
,typeAhead:true
,allowBlank:true
,emptyText:'Select SecCake...'
,editable:true
});
But none of the custom column names is taking. Am i doing something wrong ? I need the ie to remain the same because it had to update the db with it. But i need the display name to be customizable.
Thanks for any help