Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] JS nuSubformHideColumns()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

[Added] JS nuSubformHideColumns()

Unread post 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
subform.jpg (39.58 KiB) Viewed 304 times

After hiding the columns "Day" and "Info"

subform2.png
subform2.png (11.9 KiB) Viewed 304 times

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']);
Post Reply