changing dhtmlxgrid from static to dynamic