jqgrid sample using array data, what am I missing

后端 未结 8 1623
别跟我提以往
别跟我提以往 2021-01-06 22:43

I\'m new in jqgrid, I\'m just trying thes example to work. I have a html file only, nothing more. When I ran this file, array data is not showing. What am I missing here? Th

8条回答
  •  一生所求
    2021-01-06 23:08

    Your array declaration and manipulation loop should be inside of anonymous function jQuery(document).ready(function(){...}), and not outside of it. This way it will be executed after jqQrid initialization and not before.

提交回复
热议问题