JqGrid with subgrid and local data not working in IE9 - throws - “SCRIPT600: Invalid target element for this operation”

后端 未结 1 1557
囚心锁ツ
囚心锁ツ 2021-01-24 18:08

I am new to JQGRID and I am using version 4.7.1.

I am trying to create JQGRID with SUBGRID. The code is working as expected in Google chrome, but I am getting the below

1条回答
  •  抹茶落季
    2021-01-24 18:40

    TreeGrid don't works with datatype: "local", but one can use datatype: "jsonstring" instead. One need just use datastr: mydata instead of data: mydata. You should use parent: "null" instead of parent: "" additionally for top level icons. It allows to have local sorting additionally. See the answer for the corresponding code example.

    The reason of the problem "jquery.jqGrid.src.js, line 1639" could be the bug with the usage of firstElementChild. See the answer for details. You can download code of jquery.jqGrid.src of jqGrid 4.7.0 after the fix from here. Alternatively you can download beta version of new free jqGrid from my fork of jqGrid.

    0 讨论(0)
提交回复
热议问题