Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

addColumn method

Developers.QuiXListViewaddColumn History

Hide minor edits - Show changes to output

October 15, 2007, at 12:48 PM by Thomas Bellos -
Changed lines 10-11 from:
||!Returns|| The newly created TD element. ||
to:
||!Returns||The newly created TD element.||
October 15, 2007, at 12:47 PM by Thomas Bellos -
Changed lines 10-11 from:
||!Returns|| - ||
to:
||!Returns|| The newly created TD element. ||
October 15, 2007, at 12:26 PM by Thomas Bellos -
Changed lines 17-19 from:
lst.addColumn = {
->isSystem:true, displayName:'aaaaa', size:31230, modified:new Date(), role:2
};
to:
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
});
October 15, 2007, at 12:13 PM by Thomas Bellos -
Changed lines 17-20 from:
lst.addColumn = [
{isSystem:true, displayName:'aaaaa', size:31230, modified:new Date(), role:2},
{isSystem:false, displayName:'bbbb', size:1230, modified:new Date('03/31/2005 18:00:31'), role:8}
];
to:
lst.addColumn = {
->isSystem:true, displayName:'aaaaa', size:31230, modified:new Date(), role:2
};
October 15, 2007, at 12:12 PM by Thomas Bellos -
Changed lines 8-10 from:
||!Syntax||[@
lst.addColumn(params); [[<<]] lst.refresh();
@]||
to:
||!Syntax||lst.'''addColumn(params)'''; [[<<]] lst.refresh(); ||
October 15, 2007, at 12:11 PM by Thomas Bellos -
Changed lines 3-4 from:
The '''addColumn''' adds a new column to the widget.
to:
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 "[[(Developers.QuiXListView)refresh]]" method.
Changed line 9 from:
lst.addColumn(params);
to:
lst.addColumn(params); [[<<]] lst.refresh();
Changed lines 12-24 from:
||!Returns|| - ||
to:
||!Returns|| - ||

!! Example

%code%
[@

lst.addColumn = [
{isSystem:true, displayName:'aaaaa', size:31230, modified:new Date(), role:2},
{isSystem:false, displayName:'bbbb', size:1230, modified:new Date('03/31/2005 18:00:31'), role:8}
];
lst.refresh();
@]
October 15, 2007, at 12:09 PM by Thomas Bellos -
Changed lines 3-4 from:
The '''addColumn''' adds a new column to the widget's header.
to:
The '''addColumn''' adds a new column to the widget.
Changed line 11 from:
||!Parameters||''where'' : Required. String indicating the property to modify. Possible values (Left, Right, Bottom, Top)[[<<]]''ioffSet'' : Required. Integer indicating the value to be set ||
to:
||!Parameters||''params'' : Required. Hashtable with the column's properties. ||
October 15, 2007, at 11:55 AM by Thomas Bellos -
Changed lines 3-4 from:
The '''addColumn''' adds a new column the widget's header.
to:
The '''addColumn''' adds a new column to the widget's header.
October 15, 2007, at 11:17 AM by Thomas Bellos -
Added lines 1-12:
(:title addColumn method:)

The '''addColumn''' adds a new column the widget's header.

!! Syntax

||cellspacing=1 cellpadding=4 border=1 bgcolor=#ededed
||!Syntax||[@
lst.addColumn(params);
@]||
||!Parameters||''where'' : Required. String indicating the property to modify. Possible values (Left, Right, Bottom, Top)[[<<]]''ioffSet'' : Required. Integer indicating the value to be set ||
||!Returns|| - ||
Page last modified on October 15, 2007, at 12:48 PM