Hello,
I'm not sure that I understand the problem. Also jqGrid does not closes any
tag. The problem is maybe how you write this long string.
I suggest you first to try with simple tags without classes and data and see if this work, then add step by step additional code and see the result.
Regards
Tony