PHP -> XML -> to Grid

Just found the grid last week and have worked through the examples to get the basic constructs working on a page… Everything works using the sample data.

Now to get the grid to load using my data…

Fail.

The data is coming back to me through a call to a webservice. I have the layout, and I know exactly what is being returned.

I have confirmed that the grid will load everything if I go through a sample file manually and rename everything in the heirarchy (from the samples)… but that is not an option in this case. Changing the return format for the data is not an option.

Suggestions?

by default grid expects that data will be in specific format.
You can

a) define basic xml formatting

grid.xml.top = “rows”;
grid.xml.row = “./row”;
grid.xml.cell = “./cell”;

b) if it is not enough it possible to write your own xml reader
docs.dhtmlx.com/doku.php?id=dhtm … s_creation