summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.php
blob: b056eba81143404dc0ad85e031af7986580c1462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

// $Id: Home.php 1405 2006-09-10 01:03:56Z wei $
class Home extends TPage
{

	public function clickCell ($sender, $param)
	{
		$sender->Text .= "<br/>Clicked";
		$this->lblResult->Text='You clicked on cell #'.$param->SelectedCellIndex.' with id='.$sender->id;
		$sender->render($param->NewWriter);
	}

	public function clickRow ($sender, $param)
	{
		$sender->BackColor="yellow";
		$this->lblResult->Text='You clicked on row #'.$param->SelectedRowIndex.' with id='.$sender->id;
		$sender->render($param->NewWriter);
	}
}

?>