Hi again.
Thanks for that I have managed to get it working, kindof 
The data I have for my nested grid varies quite a lot. Even if the number of rows are known, the fact I have to wrap the text means the height of nested grid will be different for pretty much every row so $("#jqxgrid").jqxGrid('setrowdetails', i, "<div id='grid" + i + "' style='margin: 10px;'></div>", 220, true);
isn’t going to work well for me.
Is there a way to have this details row resize automatically to fit the grid it contains?
Regards,
Ian