I have ready grid on the client side. how can I pass that gr

Technically it can be done as

var cont = subgrid.entBox
some_grid.attachToObject(cont); //some_grid - reference to existing grid object which need to be used as subgrid
return false;

but using onSubGridCreate event to create new grid - may be a better approach