我有一个对所有列进行排序的 jqGrid。然后我使用菜单项冻结列。然后我使用 destroyFrozenColumns 解冻网格并调用重新加载,网格上的排序已停止工作。那会是什么?
1 回答
According to jQgrid's documentation and forum you cannot use frozen columns and sorting at the same time, so I suppose that if you are using one of the features, the other one becomes disabled no matter if you call "destroyFrozenColumns". I debugged frozen columns and it seems that the way this feature works is - it is creating a second table on top of the main one with the column you chose as frozen ones. So you cannot make a synchronized sorting between your table and the one that is dynamically created when you use frozen columns. To your question: my guess is that the second dynamically created table remains even if you use "destroyFrozenColumns".