Hi all,
I would like to use a uniPropertyGrid component without a AttachedComponent : just like a TValueListEditor component.
I find the AddProperty function but i don't find an explicit help to use it.
Is it possible to work with uniPropertyGrid like a TValueListEditor ?
Thank you
Hi,
You can try this approach:
UniPropertyGrid1.AddProperty(['Prop1', True]);
UniPropertyGrid1.AddProperty(['Prop2', 'B']); //combobox
TExPGrid(UniPropertyGrid1).PopulateGrid;
UniPropertyGrid1.JSInterface.JSCode(#1'.sourceConfig = {Prop2: {editor: new Ext.grid.CellEditor({field: new Ext.form.field.ComboBox({editable: false, store:["A", "B", "C"]})})}};');