jqGrid - 如何取消选中标题行复选框

1 checkbox row header jqgrid

Here is the scenario:
Run Code Online (Sandbox Code Playgroud)

1.通过选中标题行复选框选择所有行.2.取消选择一行.3.仍然检查标题行复选框,该选项无效,因为未选择所有行.

如何取消选中hedaer行复选框?谢谢

Ole*_*leg 7

您可以使用resetSelection方法.看看为此这个问题准备的例子."清除选择"按钮使用resetSelection方法.