From Porcupine wiki

Developers: addColumn method

The addColumn adds a new column to the widget. In order for the column to be displayed, you need to refresh the widget by calling its "refresh" method.

Syntax

Syntaxlst.addColumn(params);
lst.refresh();
Parametersparams : Required. Hashtable with the column's properties.
ReturnsThe newly created TD element.

Example


lst.addColumn({
bgcolor:'#FFFFFF',
width:'40%',
caption:'Column Displayed name',
name:'the corresponding dataset name',
type:'int or bool or Date, default str',
xform:'data transformation function',
sortable:true,
format: 'date display format',
align:'right',
resizable;true
});
lst.refresh();
Retrieved from http://wiki.innoscript.org/pmwiki.php/Developers/QuiXListViewaddColumn
Page last modified on October 15, 2007, at 12:48 PM