summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TEditCommandColumn.php
diff options
context:
space:
mode:
authorxue <>2006-02-03 06:11:57 +0000
committerxue <>2006-02-03 06:11:57 +0000
commit0efe2d3e9e02ada6fe297af823b90fa967de85df (patch)
treec286c9af063072bf9f9aa6dd0edd6031fb12eef4 /framework/Web/UI/WebControls/TEditCommandColumn.php
parent13b32e41bbda0a22bc0d886841a210dbf7c13b3a (diff)
Added TCheckBoxColumn.
Diffstat (limited to 'framework/Web/UI/WebControls/TEditCommandColumn.php')
-rw-r--r--framework/Web/UI/WebControls/TEditCommandColumn.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php
index a51b703f..b0814a1a 100644
--- a/framework/Web/UI/WebControls/TEditCommandColumn.php
+++ b/framework/Web/UI/WebControls/TEditCommandColumn.php
@@ -62,7 +62,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function getEditText()
{
- return $this->getViewState('EditText','');
+ return $this->getViewState('EditText','Edit');
}
/**
@@ -70,7 +70,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function setEditText($value)
{
- $this->setViewState('EditText',$value,'');
+ $this->setViewState('EditText',$value,'Edit');
$this->onColumnChanged();
}
@@ -79,7 +79,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function getUpdateText()
{
- return $this->getViewState('UpdateText','');
+ return $this->getViewState('UpdateText','Update');
}
/**
@@ -87,7 +87,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function setUpdateText($value)
{
- $this->setViewState('UpdateText',$value,'');
+ $this->setViewState('UpdateText',$value,'Update');
$this->onColumnChanged();
}
@@ -96,7 +96,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function getCancelText()
{
- return $this->getViewState('CancelText','');
+ return $this->getViewState('CancelText','Cancel');
}
/**
@@ -104,7 +104,7 @@ class TEditCommandColumn extends TDataGridColumn
*/
public function setCancelText($value)
{
- $this->setViewState('CancelText',$value,'');
+ $this->setViewState('CancelText',$value,'Cancel');
$this->onColumnChanged();
}