AddButtonOpen (Table View)

Version 2020/10

This is a shortcut function call for adding a link-button which opens up the record itself. See also: AddLink

Standard

Code

// file: hooks/TABLENAME-tv.js
jQuery(document).ready(function () {
    AppGiniHelper.TV
        .addOpenButton()
        .setWidth(0, 120)
        ;
});

Modified

Additional button on every row which is linked to TABLENAME_view.php?SelectedID=%ID%

Please note the new .setWidth function which allows you to resize columns for avoiding wordwrap. 1st parameter is the zero-based index of the column. 2nd parameter is the width in pixels.

Do you like it?