hide_item方法

hide_item(self, index, is_hidden)

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


def hide_item(self, index, is_hidden):
    ...
范围类型描述
indexint枢轴字段 (pivotField) 中枢轴项 (pivotItem) 的索引。
is_hiddenbool特定的 PivotItem 是否被隐藏

hide_item(self, item_value, is_hidden)

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


def hide_item(self, item_value, is_hidden):
    ...
范围类型描述
item_valuestr枢轴字段 (pivotField) 中枢轴项 (pivotItem) 的值。
is_hiddenbool特定的 PivotItem 是否被隐藏

也可以看看