In the ERP Acumatica, I am binding a tab to a view that is not my main view. How can I hide this tab when the current element of my view is null?
Asked
Active
Viewed 702 times
0
-
A very detailed answer to this question is available at http://stackoverflow.com/questions/37030174/hiding-a-tab-from-the-user-interface-dynamically – Gabriel May 04 '16 at 14:08
2 Answers
3
In Acumatica a tab is automatically hidden when it contains no visible content. You should either use PXUIFieldAttribute.SetVisible<*Field*>(*YourDataView*.Cache, object, **false**)
for input controls or *YourDataView*.AllowSelect = **false**
for a grid.
0
I think you can invisible it in the customization design mode. In the design mode, choose Control Tree and navigate to the Tab Item. Select tab item that you want to invisible and in it Attributes, set the value of Visible to False (in the attribute collection Ext Props)