summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TBoundColumn.php
diff options
context:
space:
mode:
authorxue <>2006-09-04 22:00:25 +0000
committerxue <>2006-09-04 22:00:25 +0000
commitf587496dcba7c7030062b5dfdc7612f3ed89dbf9 (patch)
tree845e2be5bef86f056c1ac25ac285a92cc2ad56c3 /framework/Web/UI/WebControls/TBoundColumn.php
parent9fe3fc70f1d721790265926fac4dc0f3ad6140bf (diff)
updated datagrid columns to make use of enumerable list item types.
Diffstat (limited to 'framework/Web/UI/WebControls/TBoundColumn.php')
-rw-r--r--framework/Web/UI/WebControls/TBoundColumn.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php
index 26fad32b..437dfbf9 100644
--- a/framework/Web/UI/WebControls/TBoundColumn.php
+++ b/framework/Web/UI/WebControls/TBoundColumn.php
@@ -106,7 +106,7 @@ class TBoundColumn extends TDataGridColumn
parent::initializeCell($cell,$columnIndex,$itemType);
switch($itemType)
{
- case TDataGrid::IT_EDITITEM:
+ case TListItemType::EditItem:
$control=$cell;
if(!$this->getReadOnly())
{
@@ -118,9 +118,9 @@ class TBoundColumn extends TDataGridColumn
if(($dataField=$this->getDataField())!=='')
$control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn'));
break;
- case TDataGrid::IT_ITEM:
- case TDataGrid::IT_ALTERNATINGITEM:
- case TDataGrid::IT_SELECTEDITEM:
+ case TListItemType::Item:
+ case TListItemType::AlternatingItem:
+ case TListItemType::SelectedItem:
if($this->getDataField()!=='')
$cell->attachEventHandler('OnDataBinding',array($this,'dataBindColumn'));
break;