Hello,
Since version 3.5.6 you can put labels on a Tableview and link such a label to a field using LabelFor. Good new functionality. Now you can better makeup the style of the column headers.
But unfortunately I’m missing some functionality, that I really need and I was suprised that this was not possible. I don’t know of this is a bug or the behavior is like Servoy wants it to be, but it would be a great extension if the following is also possible.
I have a Tableview with column X. I put a label A on the form and fill the LabelFor property with column X. That works (that is already good
), but I need the header text to be variable.
So I filled the Text property with:
%%_to_article.article_to_articlelabel.description%%
Of course I checked the DisplayTags property.
The relation ‘_to_article’ is a global relation. It works on a global variable.
I hoped to see in my columnheader the text ‘MyLabel’, but unfortunately the text remains empty.
The label and the field are both on the ‘Body’-part of the form.
When I change it to ‘Header’ then the text ‘Mylabel’ is visible as columnheader, so the %% … %% is correct.
Is this a bug? And if not what is the reason why it is not working as I expect?
Martin