when use PropertyGrid, the name must be mygrid?

hi.
I found TreeGrid has a propertygrid ext in your website.
and I found the grid name in your dhtmlxtreegrid_property.js is fixed to “mygrid”.
So if use two PropertyGrids in one page, how to name these two grid? how to distinct these two grids?
Thanks.

PLease, try to use the following:

grid1 = new dhtmlXPropertyGrid('grid_container'); grid2 = new dhtmlXPropertyGrid('grid_container2');

hi,
when i use grid1 = new dhtmlXPropertyGrid(“PropertyGrid”), then show below erro:
error:Uncaught ReferenceError: mygrid is not defined

function dhtmlXPropertyGrid©
{
var a;
a = c.HF ? c : new dhtmlXGridObject©;
a.setHeader(“Name,Value”);
a.setColAlign(“left,left”);
window.dhtmlxHierarchy ? (a.setColTypes(“tree_property,ro”), a.gY = function ()
{
return !0
}, a.enableSmartXMLParsing(!1)) : a.setColTypes(“ro,ro”);
a.setColSorting(“na,na”);
a.setInitWidths(",");
a.setNoHeader(!0);
a.setSkin(“property”);
a.i18n.validation_error = “Value is incorrect”;
a.attachEvent(“onRowSelect”, function (a)
{
this.editor || (mygrid.eQ(mygrid.getRowIndex(a), 1), mygrid.gh())
error:Uncaught ReferenceError: mygrid is not defined
}
);

Thanks!.

That issue was fixed.
Please, open ticket at support.dhtmlx.com so we can provide you a fixed version.