Hi everybody, Can the column title be user-definable? The column title will be stored in the profile document and i want to set the column title by retrieving the value in the profile document.
Can this be done?
Thxs in advance for your help
Hi everybody, Can the column title be user-definable? The column title will be stored in the profile document and i want to set the column title by retrieving the value in the profile document.
Can this be done?
Thxs in advance for your help
Subject: Can we set column title for views by using a formula?
Unfortunately not. You can work around it if you’re building a web application, but in the client, column titles are fixed.
One way around it is to use a shared, private on first use view, and then put code in to change the column titles via script - however, your users would all need designer access for this to work - a privelige that I’m not sure would be a good idea …
Kiers
Subject: RE: Can we set column title for views by using a formula?
Thxs for your quick response.
Subject: Can we set column title for views by using a formula?
Just a toughtHow about creating two coulumns with the same values but different titels and hide the column with the wrong titel based on a formula.
Or you could embedd the view in a form or page inside a table and you do not show the header but table cells with the titles as computed text.
cti
Subject: Possible Workaround - Can we set column title for views by using a formula?
I have a workaround for Web application with javascript enable.Perhaps, it’s too late for this topics… ![]()
But it could help someone else…
My view is embedded in a form
In my view, the title of the column are :
Col 1 : [span ID=‘id1’>]
Col 2 : [span ID=‘id2’>]
on the onLoad event of my form, I put :
var lang;
lang=fl_browseLang; // the main criteria
switch (lang)
{
case '1':
id1.innerText ='TxtFR'
id2.innerText ='TxtFR2'
break
case '2':
id1.innerText ='TxtEN'
id2.innerText ='TxtEN2'
break
default:
id1.innerText ='TxtDefault'
id2.innerText ='TxtDefault2'
break
}
Hope , it will help someone one of these days…
Cathy