Ajax component use

I have no idea how to use Ajax.

I try the async call of Ajax:


Into the php I fill the var grid_headings with some strings to be used as the Grid column titles. So, at the end of the php I call print ,

and that’s all.

Now, into the FireBug response text the content is:

, as I want to be.

But into the callback function (Client side) I check the var string and it is empty!

Please, have any ideas what is wrong?



You can use it as
fucntion callback_createGrid(obj){

Also, grid can be fully configured from XML, so you can just use config from XML instead of additional ajax calls
dhtmlx.com/docs/products/dhtmlxG … 9009139000