How to get the DHTMLXGRID object after it loads


I am new with DHTMLXGRID . can someone tell me how to get the xgrid object after it has loaded on the page. I load multiple xgrid objects on the page and then later on click of a button i need to get a specific xgrid object and remove a row. i am not able to get a particular xgrid object among many … pls help…

When you are creating dhtmlxGrid object you specify it’s name and container. So after page was loaded you can get grid’s object by this name. There is no any global dhtmlxGrid object which will know how many grids were initialized on the page.