jqgrid sample using array data, what am I missing

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

    Ah, its a damn typo in the Demo code.

    The array that is declared is called mydata, and the array in the loop is mydata1[..] (note that evil 1)

    grid.locale-en has to be declared first! Then the Browser's debugger can tell you.

    (more 'bugyi's, I have some strange Loading text on the top and a striped gray background.)

提交回复
热议问题