Skip to content

Experimental

Joining Columns

Join columns

Moves cell values of fields source1 and source2 below cell value of field target, hides source1- and source2-columns.

1
tv.join("target", ["source1", "source2", "..."]);

Re-Label header

Same as before plus custom headline for ´target´-column.

1
tv.join("target", ["source1", "source2", "..."], "Label");

Place labels above value

Same as before with custom heading and field-captions above field-values.

1
    tv.join("target", ["source1", "source2", "..."], "Label", true);

Example

Code

1
2
3
4
5
6
7
jQuery(document).ready(function() {
    AppGiniHelper.tv
        .unlink()
        .join("label", ["position"])
        .join("created_on", ["created_by"], "Creation", true)
        .join("modified_on", ["modified_by"], "Last Modified", true);
});

Output

Join columns

See also