You main error is the usage of rowNum: -1 instead of some large enough value like rowNum: 10000. Moreover you should use gridview: true parameter of jqGrid and data: mydata instead of much more slow filling of grid with respect of addRowData (moreover you use <= in the loop instead of <).
Additionally I would recommend you to use column templates which will reduce the code and can it more readable. The result of the changes you can see here. rowNum을 -1로 주지 말고 충분한 숫자로 주라는 소리이다.
출처 : http://stacko...
#
IT·컴퓨터