我有这个问题,jqGrid中的treegrid在通过xml传递数据时忽略了最后一个选项(扩展节点或不扩展节点)。有人遇到过这个吗?有解决办法吗?也许是我的数据?这是产生问题的示例数据:
<rows>
<page>1</page>
<total>0</total>
<records>4</records>
<row id='2'>
<cell>2</cell>
<cell>Parent</cell>
<cell>0</cell>
<cell>NULL</cell>
<cell>false</cell>
<cell>true</cell>
</row>
<row id='1'>
<cell>1</cell>
<cell>Child 1</cell>
<cell>1</cell>
<cell>2</cell>
<cell>true</cell>
<cell>false</cell>
</row>
<row id='3'>
<cell>3</cell>
<cell>Child 2</cell>
<cell>1</cell>
<cell>2</cell>
<cell>true</cell>
<cell>false</cell>
</row>
<row id='4'>
<cell>4</cell>
<cell>Child 3</cell>
<cell>1</cell>
<cell>2</cell>
<cell>true</cell>
<cell>false</cell>
</row>
</rows>