我想知道在“dataView”被分组时是否可以按“groupingKey”进行排序。
答案 0 :(得分:2)
除了拨打groupingKey
或expandGroup()
之外,您不应该使用collapseGroup()
。
要对群组进行排序,请在通话comparer
中指定setGrouping()
。
请参阅https://github.com/mleibman/SlickGrid/blob/master/examples/example-grouping.html上的示例。