From b9f9a16d7eefc48ac489c8cb2b87749459bb3d38 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 2 Jun 2011 09:56:29 +0000 Subject: merged documentation changes from branch/3.1 to trunk/ --- .../Samples/TActiveRepeater/RegionDisplay.php | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/RegionDisplay.php (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/RegionDisplay.php') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/RegionDisplay.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/RegionDisplay.php deleted file mode 100644 index 40d1841e..00000000 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/RegionDisplay.php +++ /dev/null @@ -1,28 +0,0 @@ -Data is available which - * refers to the data row associated with the parent repeater item. - */ - public function onDataBinding($param) - { - parent::onDataBinding($param); - $this->Repeater->DataSource=$this->Data['detail']; - $this->Repeater->dataBind(); - } - - public function itemCreated($sender,$param) - { - static $itemIndex=0; - $item=$param->Item; - if($item->ItemType==='Item' || $item->ItemType==='AlternatingItem') - $item->Row->BackColor=$itemIndex%2 ? "#BFCFFF" : "#E6ECFF"; - $itemIndex++; - } -} - -?> \ No newline at end of file -- cgit v1.2.3