Title with variable content

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Title with variable content

Post by SkayyHH » 2020-11-09 20:44

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

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Title with variable content

Post by SkayyHH » 2020-11-10 11:12

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

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Title with variable content

Post by jsetzer » 2020-12-18 14:09

(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?
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply