How to hide/show columns of relationship on OnFormPopulate event

Hi All,

I am trying to hide some of the columns from the relationship based on parent property value, I have tried below code:

parent.findCurrentRelationshipsTab().grid.setColumnVisible(ColumnIndex, false, 150);

however, this is working when Item is loaded, I want this on onFormPopulate.

I am getting the parent.findCurrentRelationshipsTab().grid as null/empty.

Is there any way to get the relationship grid.



Parents Reply Children
No Data