Hide Columns in Quick View conditionally with child form field value
Using Quick View form you can display parent table record info on child table form. But if there is a business need to hide some fields on child form conditionally by checking child record data then you have to write below script.
function hideColumn(context)
{
var formContext = context.getFormContext();
var loanType = formContext.getAttribute("soft_type").getValue();
var quickViewControl = formContext.ui.quickForms.get("custQV");
if(loanType == 408260000)
{
quickViewControl.getControl("mobilephone").setVisible(false);
}
}
Update above code as per your business need.
hope this helps.