tabs

This object provides methods that are used to interact with tab controls on entity forms. It's a common requirement to hide and show tabs on an entity form based on some logic. We can use the following code to hide and show tab controls on an entity form:

formContext.ui.tabs.get("TAB1").setVisible(true); //to showformContext.ui.tabs.get("TAB1").setVisible(false); //to hide

In the preceding code, TAB1 is the name of the tab control. We can check the tab's control name from the control property. We can open it by double-clicking on the tab. Now that we are familiar with ui methods, let's discuss how to work with grid controls.