EasyUI Forum

General Category => Bug Report => Topic started by: pacific202 on October 28, 2011, 03:31:45 PM



Title: appendRow - PropertyGrid
Post by: pacific202 on October 28, 2011, 03:31:45 PM
I am trying to use appendRow on a PropertyGrid but all I see is a very thin row (see attached image).

The exact same code inserts rows on a DataGrid.

Tested on Chrome and IE7.


Title: Re: appendRow - PropertyGrid
Post by: stworthy on October 28, 2011, 07:33:01 PM
The row to be appended to propertygrid should have name, value, group(optional) and editor properties. Below is some test code:

var row = {
  name:'AddName',
  value:'',
  group:'Marketing Settings',
  editor:'text'
};
$('#tt').propertygrid('appendRow',row);


Title: Re: appendRow - PropertyGrid
Post by: pacific202 on October 29, 2011, 01:05:39 PM
Thanks!

Would be great if the docs were updated with this.