Hi,
for a two-column layout, configured as widths-array of
[7, 5]
, you should use
.add(1, ...)
and
.add(2, ...)
only, not
3
,
4
,
...
.
Can you please try this:
Code: Select all
// file: hooks/blinds_layouts-dv.js
new AppGiniLayout([7, 5])
.add(1, ["hunter_1", "hunter_1_Notes", "hunter_3", "hunter_3_notes", "hunter_5", "hunter_5_notes"])
.add(2, ["hunter_2", "hunter_2_notes", "hunter_4", "hunter_4_notes"])
If this does not help, please check for any (red) errors in console tab of your browser's developer tools.
Note
In new versions of our library you can also use
AppGiniHelper.DV.createLayout([7, 5])
like this:
Code: Select all
// file: hooks/TABLENAME-dv.js
var layout1 = AppGiniHelper.DV.createLayout([7, 5])
.add(1, ['field1', 'field2'])
.add(2, ['field3', 'field4']);
Example
Here is an example of how it shold look like:
Code: Select all
// file: hooks/TABLENAME-dv.js
var layout1 = AppGiniHelper.DV.createLayout([7, 5])
.add(1, ['created_on', 'created_by'])
.add(2, ['modified_on', 'modified_by']);

- chrome_4DuucHhx7i.png (4.12 KiB) Viewed 6802 times
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 25.10 + all AppGini Helper tools