Page 1 of 1

How to define column width in an instance list

Posted: Wed Nov 24, 2021 1:45 am
by csturtev
How do you define the column width in an instance list? V15 VLFOne It appears you can set in the width be dragging column widths in the framework workbench when working in the Instance List tab. But this does not appear to make any difference when user pulls up the list.

Re: How to define column width in an instance list

Posted: Wed Nov 24, 2021 2:28 am
by csturtev
If (#AVLISTMANAGER.avVisualList *IsNot *NULL)
For Each(#column) In(#AVLISTMANAGER.avVisualList.Columns)
If (#Column.ColumnCaption = 'Description')
#Column.CellWidth := 750
Else
#Column.CellWidth := 100
Endif
Endfor
Endif
Endroutine

Trying something along these lines, but result does not change.

Re: How to define column width in an instance list

Posted: Wed Nov 24, 2021 2:38 am
by csturtev
#Column.ColumnWidth := 750 not #Column.CellWidth := 750