-
SkayyHH
- Veteran Member
- Posts: 427
- Joined: 2015-04-27 21:18
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
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
-
jsetzer
- AppGini Super Hero
- Posts: 1817
- Joined: 2018-07-06 06:03
- Location: Kiel, Germany
-
Contact:
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