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
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();
|
|||||||
|
Page last modified on October 15, 2007, at 08:48 AM
|
|||||||