Hiding/showing columns in relationship grid based on field values

How can I hide/show columns in the relationship grid based on the changes in the dropdown box of the parent form?

Parents
  • Hello Alexis,

    Attach your method on change of dropdown box property event.  

    please find the below code to hide/show the relationship tab

    //based on your condition (dropdown box value)  set 0 or 1 in below code

    //0-means hide the relationship

    //1- means show the relationship.

    parent.relationships.relTabbar.setTabVisible(top.aras.getRelationshipTypeId("your_relationship_name"), 0);

     

    Regards,

    Suhas

Reply
  • Hello Alexis,

    Attach your method on change of dropdown box property event.  

    please find the below code to hide/show the relationship tab

    //based on your condition (dropdown box value)  set 0 or 1 in below code

    //0-means hide the relationship

    //1- means show the relationship.

    parent.relationships.relTabbar.setTabVisible(top.aras.getRelationshipTypeId("your_relationship_name"), 0);

     

    Regards,

    Suhas

Children
No Data