jqgrid sample using array data, what am I missing

后端 未结 8 1633
别跟我提以往
别跟我提以往 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:14

    The example code seems to be broken. Try this in the for loop:

    $("#list").addRowData( i, mydata[i], "last" );
    

    Those parameters are: rowId, data, position.

提交回复
热议问题