Initialize the grid within a container


How to oinitialize the grid within a container?

Please suggest me the solution?

When you init grid, the first parameter is ID of container inside which grid will be initialized

var grid = new  dhtmlXGridObject(“someID”)

will initialize grid inside container with ID == someID
you can use container object directly as well

var grid = new  dhtmlXGridObject(document.getElementById(“someID”))