ungroup_rows方法

ungroup_rows

取消行分组。

def ungroup_rows(self, first_index, last_index):
    ...
范围类型描述
first_indexint要取消分组的第一行索引。
last_indexint要取消分组的最后一行索引。

评论

仅删除外部组信息。

ungroup_rows

取消行分组。

def ungroup_rows(self, first_index, last_index, is_all):
    ...
范围类型描述
first_indexint要取消分组的第一行索引。
last_indexint要取消分组的最后一行索引。
is_allboolTrue,删除所有分组信息。否则,删除外部组信息。

也可以看看