From 979430b5bf60e5857846ecb561404a89c02cefcd Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 3 Feb 2006 22:17:33 +0000 Subject: Completed datagrid tutorial part one and added a new datagrid sample. --- framework/Web/UI/WebControls/TBoundColumn.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'framework/Web/UI/WebControls/TBoundColumn.php') diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index c30d3ff6..6ad578d7 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.php @@ -131,18 +131,6 @@ class TBoundColumn extends TDataGridColumn if(($sender instanceof TTableCell) || ($sender instanceof TTextBox)) $sender->setText($value); } - - /** - * Formats the text value according to format string. - * This method is invoked when setting the text to a cell. - * This method can be overriden. - * @param mixed the data associated with the cell - * @return string the formatted result - */ - protected function formatDataValue($formatString,$value) - { - return $formatString===''?TPropertyValue::ensureString($value):sprintf($formatString,$value); - } } ?> \ No newline at end of file -- cgit v1.2.3