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 --- .../protected/pages/ActiveControls/Home.page | 6 ++++++ .../Samples/TActiveTableRow/Home.page | 20 ++++++++++++++++++++ .../Samples/TActiveTableRow/Home.php | 22 ++++++++++++++++++++++ 3 files changed, 48 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') diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 4897226c..d23f689f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -84,6 +84,12 @@ TActiveButton control. See also the later part of the TActiveTableRow and TActiveTableCell + represents a table row (or cell) which can be updated on callback, and can raise a callback + when clicked. + +
  • * TActiveTextBox represents a text input field on a Web page. 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