Add footer to Detail View

Version 2020/10

Sometimes it is useful to display extra information in a detail view. A good place could be the footer of the form. Here is a simple function for adding custom content.

Table of Contents

Code

// file: hooks/TABLENAME-dv.js
var f1 = dv.addFooter();
f1.append("Hello <b>bold</b> world");

Result

Pro-Tip

Use AJAX for requesting data from serverside. Then use the AJAX-response and add some extra information using our addFooter function.

Do you like it?