From 0efe2d3e9e02ada6fe297af823b90fa967de85df Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 3 Feb 2006 06:11:57 +0000 Subject: Added TCheckBoxColumn. --- framework/Web/UI/WebControls/TEditCommandColumn.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'framework/Web/UI/WebControls/TEditCommandColumn.php') 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(); } -- cgit v1.2.3