Header title from a claculated field not shown in table view

Questions and answers for designing and implementing forms in Servoy

Header title from a claculated field not shown in table view

Postby mj.vanzelst » Fri Nov 27, 2015 1:14 pm

Hey,

I am not able to put a Title above a checkbox in a table view.

The checkbox is based on a calculated field. In the labeling field above the checkbox, the value of labelFor is a reference to the name of the checkbox. No title is shown above the check box.
If the value of labelFor (in the labeling field) is changed in a reference to the name of a common field next to the checkbox, then the title is visible.

Does anyone have a solution to this problem?
mj.vanzelst
 
Posts: 13
Joined: Mon Feb 02, 2015 5:47 pm

Re: Header title from a claculated field not shown in table

Postby Bernd.N » Fri Nov 27, 2015 1:30 pm

Hi,
indeed the most important is the labelFor property. When that is fine it should work.
What is also important is the alignment, so all headers and fields should have same height and should be on the same line/y-coordinate (or same x-coordinate, in case you use the vertical layout for tables as I do, as it makes adjusting column width easier).

What do you mean with "the title is visible". Does the complete column not appear at all? Or is only the text in the header empty? Maybe a posting of a screenshot would help.

We have a calculated field as the base of a checkbox in one form, and that works fine with the header. I do not think it is due to the calculated field, but you could try to base the field first on a normal integer value.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Header title from a claculated field not shown in table

Postby mj.vanzelst » Fri Nov 27, 2015 3:16 pm

Only the text in the header was empty, but we found the problem.
Our system has a function that automatically generates table headers. Therefore, the design time table headers were not visible.

Thanks for your comment.
mj.vanzelst
 
Posts: 13
Joined: Mon Feb 02, 2015 5:47 pm

Re: Header title from a claculated field not shown in table

Postby mboegem » Fri Nov 27, 2015 4:55 pm

mj.vanzelst wrote:Our system has a function that automatically generates table headers.


Love generating stuff automatically ;-)
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Forms

Who is online

Users browsing this forum: No registered users and 4 guests