Page 1 of 1
Tabs and fields not in tabs
Posted: 2020-03-25 16:54
by bescott53
Jan, loving the new javascript helper file!
I have just created the tabs and moved the fields I want into those, its all working great and looks even better that i had my app before. One issue though, I have a few fields that I do not want in any tabs, I want these to show above the tabs but they are all at the bottom for some reason.
Do you know how I can fix this?
Re: Tabs and fields not in tabs
Posted: 2020-03-25 18:18
by jsetzer
Hi,
yes, by default the custom tabs will be placed at the top of the detail view page, and fields which have not been moved into tabs will remain below the tabs. Perhaps I will have to think about a more configurable solution for this for one of the next versions.
Anyway:
Please try this in
hooks/TABLENAME-dv.js
Code: Select all
jQuery("#appginihelper-detailview-tabs").prepend("<hr/>").appendTo(jQuery("fieldset"));
Before
Two fields creditor and debitor are placed below the tabs by default.
- chrome_InJfE7ieDL.png (21.88 KiB) Viewed 1810 times
After
Those two fields have been moved above the tabs and there is an additional horizontal line between fields and tabs.
- QUuMqMwRE2.png (22.02 KiB) Viewed 1810 times
Does this work for you? Any feedback appreciated!
Best,
Jan
PS: Docs for custom tabs can be found here:
https://appgini.bizzworxx.de/products/j ... view/tabs/
Re: Tabs and fields not in tabs
Posted: 2020-03-25 22:11
by bescott53
Thanks Jan, that did work, it moved them all up to the top. Is there any way to split this into 3 columns? I have 13 fields so it’s quite a scroll.
Re: Tabs and fields not in tabs
Posted: 2020-03-25 23:07
by bescott53
Jan, don’t worry, I used the add layout and this formats it perfectly! Love the JavaScript helper!
[SOLVED] Re: Tabs and fields not in tabs
Posted: 2020-03-26 04:39
by jsetzer
If someone else is interested in multi-column layouts:
https://appgini.bizzworxx.de/products/j ... mn-layout/
Thanks for your feedback!
Best,
Jan