load from server

Hi,

i use dhtmlxgrid v.1.6.

How can i load a variable from server in javascript, but not direkt in grid. For example, can i load a string test via

var test = mygrid.loadXML(…) and use test in other function say alert(test)?



Thanks in advance!

pyt

You can use global level userdata to store any data in grid’s xml
dhtmlx.com/docs/products/dhtmlxG … t_userdata