From d860219f366a8fbe63b03d26c69525d4e6bd4f3a Mon Sep 17 00:00:00 2001 From: "Christophe.Boulain" <> Date: Mon, 15 Feb 2010 09:20:35 +0000 Subject: Merge from r2765 (and some others) 3.1 Added TActiveTableRow QST page Corrected an uninitialized array in TScaffoldBase --- .../Samples/TActiveTableRow/Home.page | 20 ++++++++++++++++++++ .../Samples/TActiveTableRow/Home.php | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.php (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page new file mode 100644 index 00000000..e96a22a5 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page @@ -0,0 +1,20 @@ + + +

TActiveTableRow and TActiveTableCellSamples

+ + + + Click to change cell content + Click to change cell content + + + Click to change row content + Click to change row content + + + + + + + +
$Id: Home.page 1650 2007-01-24 06:55:32Z wei $
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.php new file mode 100644 index 00000000..b056eba8 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.php @@ -0,0 +1,22 @@ +Text .= "
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); + } +} + +?> \ No newline at end of file -- cgit v1.2.3