반응형
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://stackoverflow.com/questions/9037701/last-row-not-showing-after-reloadgrid
728x90
반응형
'웹 개발' 카테고리의 다른 글
log4j properties (0) | 2019.08.15 |
---|---|
javascript jquery each break, continue (0) | 2019.08.15 |
jQuery radio button Control (0) | 2019.08.15 |
[javascript] jstree 1.0 ver. checkbox 사용법 (0) | 2019.08.15 |
css에서 name 속성과 id 속성의 충돌 문제 (0) | 2019.08.15 |