Set Title (Detail View)

Plain text title

// file: hooks/patients-dv.js
var dv = new AppGiniDetailView();
dv.setTitle("My Custom Title");

Html formatted title

// file: hooks/patients-dv.js
// create your custom title
var title = "<b>PAN-TAO</b>, <u>Petra-Christine</u> Catharina";

var dv = new AppGiniDetailView();
dv.setTitleHtml(title);

Tipps

Tipp
You can change the title dynamically at runtime, for example whenever a field changes, update the title.

There is a "how-to" BLOG post here

Do you like it?