- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
static public function createProductComplRatingColumn():AdvancedDataGridColumn
{
return createColumn("Product Complexity Rating", productComplRatingLabelFunc, 180);
}
static public function createValidStartDateColumn():AdvancedDataGridColumn
{
return createColumn("Valid Start Date", validStartDateLabelFunc, 150);
}
static public function createValidEndDateColumn():AdvancedDataGridColumn
{
return createColumn("Valid End Date", validEndDateLabelFunc, 150);
}
static public function createLastActionColumn():AdvancedDataGridColumn{
return createColumn("Last Action",lastActionLabelFunc);
}
static public function createUserColumn():AdvancedDataGridColumn
{
return createColumn("User", userLabelFunc);
}
static public function createLastActionDateColumn():AdvancedDataGridColumn
{
return createColumn("Last Action Date / Time", lastActionDateLabelFunc, 180);
}
static public function createLatestRecordColumn():AdvancedDataGridColumn
{
return createColumn("Latest Record", latestRecordLabelFunc, 120);
}
static public function createStatusColumn():AdvancedDataGridColumn
{
return createColumn("Status", statusLabelFunc);
}
static public function createPublishColumn():AdvancedDataGridColumn
{
return createColumn("Publish", publishLabelFunc);
}
static private function createColumn(header:String,
labeFunc:Function,
minWidth:Number = 100):AdvancedDataGridColumn
{
var column:AdvancedDataGridColumn = new AdvancedDataGridColumn();
column.labelFunction = labeFunc;
column.headerText = header;
column.minWidth = minWidth;
//column.itemRenderer = new ClassFactory(TableItemRenderer);
column.draggable = false;
column.editable = false;
return column;
}