Access Underlying DOM

How do you access the underlying DOM?

This isn’t a question specifically for Grid but I am trying to apply a wait cursor to the grid. I have found a couple of example of how people are doing this but our application is very dynamic and does not have any fixed IDs we can reference as we are using attachGrid() et. el. to build the layout.

Any ideas how I can get access to the DOM to do things such as:

document.getElementById(“grid_container”).style.cursor = “wait”;

Thanks,
James

Try to use something similar:

mygrid = new dhtmlXGridObject('gridbox'); ... mygrid.objBox.id = "gridBody"; document.getElementById("gridBody").style.cursor = "wait";