Multiples Grids in only one page

Hi,

Imagine this situation. My page instantiates many dhtmlXGridObject objects in a variable called myObject.

myObject = new dhtmlXGridObject(DIV); -> this DIV value change to each grid that i create -> gridbox1, gridbox2 and … gridboxN

If i instantiate myObject in the first grid and instantiate myObject again to second grid on same page, i loose the information of the first grid. I know, its obvious, but my question is:

How to instantiate multiple variables ( i don’t know, maybe with different names: myObject1, myObject2 ) of the same grid object (on-the-fly) without loose access and information?

tks
Luiz Paulo

You should create separate variables for each dhtmlxGrid object