grid.setSubGrid(subgrid,column, s_column) - attaches the external grid as an editor:
subgrid - grid instance which will be used as editor;
column - column in the main grid to which the sub grid will be linked;
s_column - index of a column in the sub grid, value from which will be shown in the main grid.