View Full Version : Noob: Grid Row to PropertyGrid/Form

18 May 2010, 12:35 AM
Selecting a row in a property grid I would like to take that data and insert it into a propertygrid or form.

Currently I use the following.


new Ext.grid.GridPanel({
colModel: new Ext.grid.ColumnModel({
defaults: {
width: 120

autoSizeColumns: true,
monitorWindowResize: false,

store: propertylist,
viewConfig: {
forceFit: true
columns: [
{header: 'ID', sortable: true, dataIndex: 'id'},
{header: 'Address', dataIndex: 'address'},
{header: 'Area', dataIndex: 'postcode'},
{header: 'Price', renderer: Ext.util.Format.ukMoney, dataIndex: 'price'}
sm: new Ext.grid.RowSelectionModel({
singleSelect: true,
listeners: {
rowselect: function(sm, row, rec) {
console.debug(sm, row, rec);

// **** END MY FORM


I have gone through the examples and a quick browse around the forum and nothing specific, however I am still learning, supprised I have got this far as im normally a HTML bunny but user expeience is paramount to this project and time I developed more application like things.

I have the data being console dumped to firebug (DAMN slow using EXTJS) so now my problem is creating a new window/form/property grid with my data.

Please help and thanks in advance.