Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 28, 2008 04:25
open dhtmlx forum
Initialize the grid within a container

Hi,
How to oinitialize the grid within a container?
Please suggest me the solution?
Answer posted by Support on Apr 28, 2008 05:44
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"))