hide_item方法

hide_item(index, is_hidden)

设置是否隐藏数据字段中的特定 PivotItem。

def hide_item(self, index, is_hidden):
    ...
范围 类型 描述
index int pivotField 中 pivotItem 的索引。
is_hidden bool 特定的 PivotItem 是否被隐藏

hide_item(item_value, is_hidden)

设置是否隐藏数据字段中的特定 PivotItem。

def hide_item(self, item_value, is_hidden):
    ...
范围 类型 描述
item_value str pivotField 中 pivotItem 的值。
is_hidden bool 特定的 PivotItem 是否被隐藏

也可以看看