RDMLX Table header layout

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
kno_dk
Posts: 45
Joined: Wed Oct 17, 2012 4:19 am

RDMLX Table header layout

Post by kno_dk »

Hi

is it possible to make the color to fill out the entire header area? see the attached image

Æcom_owner.Set_Table Name(Results) Layout_Cols(1) Onrowclick(RESULTSELECTED) Border_Thickness(0) Border_Cornerradius(0) Border_Color(Black) Layout_Row(4) Layout_Col(1) Layout_Width(fill)


ÆCOM_OWNER.Set_Table Name(Results) Col_N(1) Col_Name(COL1) Col_Type('Label')
ÆCOM_OWNER.Set_Label Name('Results.Col%1.HEADER') Text('Ident') Color(white) Backcolor('#00529E')

ÆCOM_OWNER.Set_Table Name(Results) Col_N(2) Col_Name(COL2) Col_Type('Label')
ÆCOM_OWNER.Set_Label Name('Results.Col%2.HEADER') Text('Materialnumber') Color(white) Backcolor('#00529E')

ÆCOM_OWNER.Set_Table Name(Results) Col_N(3) Col_Name(COL3) Col_Type('Label')
ÆCOM_OWNER.Set_Label Name('Results.Col%3.HEADER') Text('Beskrivelse') Color(white) Backcolor('#00529E')

ÆCOM_OWNER.Set_Table Name(Results) Col_N(4) Col_Name(COL4) Col_Type('Label')
ÆCOM_OWNER.Set_Label Name('Results.Col%4.HEADER') Text('Fundet via') Color(white) Backcolor('#00529E')
Attachments
table_layout.png
table_layout.png (70.37 KiB) Viewed 2357 times
Paul

Re: RDMLX Table header layout

Post by Paul »

Hi,

The table column layout in your post does not set a value for the column width property. The default value for the column width property is 'fit'.

If you set the column width property for your last column to 'fill', my testing shows that the background color will fill out to the end of the table.

Example;

Code: Select all

#COM_OWNER.Set_Table Name(Results) Col_N(4) Col_Name(COL4) Col_Type('Label') Col_Width(fill)

Hope this helps.
Post Reply