Page 1 of 1

Title with variable content

Posted: 2020-11-09 20:44
by SkayyHH
Hi,

i have a little problem with my code. I would like to display a field content in the header. Unfortunately, "employee" is not displayed.

Code: Select all

var title_employee = new AppGiniField("employee").getValue(true);
var dv = AppGiniHelper.DV;
dv.setTitle("Aufgabe für " + title_employee);
Please what's my fault? I mean it was done before last appgini update.

Thank you very much, Kai

Re: Title with variable content

Posted: 2020-11-10 11:12
by SkayyHH
On top of that.

The variable is only not used for the header if it is a master / child lookup.

What can I have configured incorrectly?

Thanks, Kai

Re: Title with variable content

Posted: 2020-12-18 14:09
by jsetzer
(1) any errors in console output?
(2) you should check value of title_employee using console.log.
(3) what for is the true-parameter you are passing to getValue?