Cloud 如何在FormTab页面中显示或不显示选项卡

Cloud 如何在FormTab页面中显示或不显示选项卡,cloud,erp,acumatica,Cloud,Erp,Acumatica,我创建了一个FormTab页面,在某些情况下,我需要显示或隐藏选项卡。我在RowSelected事件中尝试了PXUIFieldAttribute.SetVisibility,但无效。对选项卡项使用VisibleExp属性 或者使用AllowSelect 你的选择 更新:使用explore源代码查看Ardiscontex public virtual Boolean? ShowListOfItems {get {...};} Aspx AR209500 表格: 选项卡项: <px:PX

我创建了一个FormTab页面,在某些情况下,我需要显示或隐藏选项卡。我在RowSelected事件中尝试了
PXUIFieldAttribute.SetVisibility
,但无效。

对选项卡项使用VisibleExp属性

或者使用AllowSelect

你的选择

更新:使用explore源代码查看Ardiscontex

public virtual Boolean? ShowListOfItems {get {...};}
Aspx AR209500 表格:


选项卡项:

<px:PXTabItem Text="Items" BindingContext="DiscountForm" VisibleExp="DataControls[&quot;chkShowListOfItems&quot;].Value == true">

<px:PXTabItem Text="Items" BindingContext="DiscountForm" VisibleExp="DataControls[&quot;chkShowListOfItems&quot;].Value == true">