summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TButtonColumn.php
diff options
context:
space:
mode:
authorxue <>2006-09-08 19:31:03 +0000
committerxue <>2006-09-08 19:31:03 +0000
commit90b3f22cba8ad85ef2eb38c158fa2da46d798cf8 (patch)
treec321fedfe1339a1567766c375c600a738e6ac840 /framework/Web/UI/WebControls/TButtonColumn.php
parenta5dd2d8c17fcac8da117a9c8ae8af519b02c717a (diff)
merge from 3.0 branch till 1397.
Diffstat (limited to 'framework/Web/UI/WebControls/TButtonColumn.php')
-rw-r--r--framework/Web/UI/WebControls/TButtonColumn.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TButtonColumn.php b/framework/Web/UI/WebControls/TButtonColumn.php
index 5f2c228d..adf6879f 100644
--- a/framework/Web/UI/WebControls/TButtonColumn.php
+++ b/framework/Web/UI/WebControls/TButtonColumn.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Revision: $ $Date: $
+ * @version $Id$
* @package System.Web.UI.WebControls
*/
@@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TImageButton');
* datagrid cell is the first child.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Revision: $ $Date: $
+ * @version $Id$
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -227,7 +227,7 @@ class TButtonColumn extends TDataGridColumn
public function initializeCell($cell,$columnIndex,$itemType)
{
parent::initializeCell($cell,$columnIndex,$itemType);
- if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM)
+ if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem)
{
$buttonType=$this->getButtonType();
if($buttonType===TButtonColumnType::LinkButton)