summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-02-10 02:33:58 +0000
committerxue <>2006-02-10 02:33:58 +0000
commit0fe009ab854ee673c77d43fc1faa20ac8faa9167 (patch)
tree29f213adf4d46e645c26ae1abcb6139322e63c69 /framework/Web
parent261cdaa7b996ba910fddb883f892aa5b0b15a470 (diff)
Fixed a bug in TTemplateColumn about HeaderText.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TTemplateColumn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php
index 8d852d68..350f0f92 100644
--- a/framework/Web/UI/WebControls/TTemplateColumn.php
+++ b/framework/Web/UI/WebControls/TTemplateColumn.php
@@ -155,7 +155,7 @@ class TTemplateColumn extends TDataGridColumn
$cell->getControls()->clear();
$template->instantiateIn($cell);
}
- else
+ else if($itemType==='Item' || $itemType==='AlternatingItem' || $itemType==='SelectedItem' || $itemType==='EditItem')
$cell->setText('&nbsp;');
}
}