Hi!
I'm trying to have 2 checkbox fields inline and inside a custom tab. Here is my code:
new AppGiniFields(["water", "gaz"]).inline("Related to", [6, 6]);
Both fields, water and gaz, are a checkbox and when I put them inline only the second one and the label are shown, not inline but one above the other.
Any ideas? Maybe I've missed something?
Thanks in advance
Inline fields when they are checkbox
Re: Inline fields when they are checkbox
Hi, I am going to set up a test project and do some research on it. Stay tuned...
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Inline fields when they are checkbox
Thanks Jan!
Re: Inline fields when they are checkbox
Question: Is it possible for you to add a non-checkbox field as first field, for example...
In this code I have put a normal text input field "name" at the first position. This should work fine.
Code: Select all
var dv = AppGiniHelper.dv;
var tab = dv.addTab("tabTest", "Test", "cog", ["name","water","gas"]);
dv.getFields(["name", "water", "gas"]).inline("test", [12, 6,6]);
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Inline fields when they are checkbox
Hi Jan,
I'll see if I can add a text field before checkbo and I will try this solution.
Thanks for the workaround!
I'll see if I can add a text field before checkbo and I will try this solution.
Thanks for the workaround!