Page 1 of 1

[Added] JS nuSubformHideColumns()

Posted: Thu Dec 30, 2021 6:03 pm
by admin
nuSubformHideColumns() will hide columns in a Subform. Provide the optional 3rd parameter maintainWidth (boolean, true) to maintain the total width of the subform.

Before:

subform.jpg

After hiding the columns "Day" and "Info"

subform2.png

Usage:

Parameters:

- sf_obj_id: Object Id of the subform
- sf_object_1_id: Object Id of the subform column
- sf_object_2_id: Object Id of the subform column

Code: Select all

nuSubformHideColumns('sf_obj_id',['sf_object_1_id','sf_object_2_id']);