gets actual xml of the grid
Available only in PRO Edition
var str=mygrid.serialize();
the depth of serialization can be set with setSerializationLevel() method