Page 1 of 1

RDMLX Table header layout

Posted: Fri Feb 14, 2014 12:55 am
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')

Re: RDMLX Table header layout

Posted: Mon Feb 17, 2014 3:40 pm
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.