Template - Datamodel -Script

hey guys,

is it possible for the template to use values from the datamodel like in my script (watch my screenshot)?

this is my html- code for the table:

...
abc
deg
asdads

Use record.fields.gesamtSpaltenBreite instead of {gesamtSpaltenBreite}

The “query” call is unnecessary since the script already targets “.abc”, and instead of “css” you can use the “width” function.

results.width(record.fields.gesamtSpaltenBreite);

Note that the column widths will be stretched since the table has a width of 50%.