Headed list column headings

Andrew Pavey andrew at spelean.com.au
Sun Mar 24 21:30:36 EDT 2013

I've been working on this stuff lately.
Your headed list has a property $columnnames which is a comma 
delimited text string of the column names. eg 'colnam1,colname2' etc
so if irDispList is a reference to the headed list window object
this in the $construct of the window will substitute the column names 
in var myColNames
Calculate irDispList.$columnnames as myColNames

you can pass myColNames in as a parameter or calculate it 'on the 
fly' in $construct

At 8:36 PM +1100 24/3/13, Andrew McVeigh wrote:

>A simple one, how do I change the column headings on a headed list 
>to be the value of a field? Thought that [fieldname] would work but 
>it doesn't.
>Andrew McVeigh
>Surfway Real Solutions
>Phone 02 97478955 Mobile 0418428016 Fax 02 97478966
>Manage your list subscriptions at http://lists.omnis-dev.com


Web pages: http://www.spelean.com.au    email: info at spelean.com.au

Phone: (+61) 2 9966 9800, Fax: (+61) 2 9966 9811
PO Box 645, ARTARMON, NSW, 1570, Australia.

More information about the omnisdev-en mailing list