Column headings on a grid

GSI Inc.

GSI Inc.

Well Known Member
Is there anyway possible to change the column headings, font, color of a grid, not the grid cells but column headings. I am on XE SP23 and don't see a way but I may be missing something. Thanks all
 
Hi Angelis,

As I know, there is no way to change the font and color on grid column hedings, but you can change title text with "Set Grid Column Heading" system function under Grid category.

I used it more times. I used a trick, to set 2 rows headings.
If you want, I will check, how did I do it.

Regards,

Zoltán
 
Hi Angelis,

About 2 years ago, I had written a "Retrieve User Defined Labels by Doc Type, Language" BSFN, where the labels are definable in a custom UDC table.

Here is some peaces of code from it, how to deal with 2 rows colum headings.

================================================
0002 Get New Line Character
VA evt_cNewLineCharacter_EV01 <- cNewLineCharacter
....
....
....
0062 BF szColTitleDoubleLine = BF szColTitle1
0063 If VA evt_cSeparatorFound_EV01 is equal to "1"
And BF szColTitle2 is not equal to <Blank>
And BF szColTitle2 is not equal to <Null>
0064 BF szColTitleDoubleLine = concat([BF szColTitleDoubleLine],[VA evt_cNewLineCharacter_EV01])
0065 BF szColTitleDoubleLine = concat([BF szColTitleDoubleLine],[BF szColTitle2])
0066 End If
================================================

Hope, this helps.

Regards,

Zoltán
 
Back
Top