diff options
author | xue <> | 2006-02-01 04:21:19 +0000 |
---|---|---|
committer | xue <> | 2006-02-01 04:21:19 +0000 |
commit | 5682cc56a4c703408dd927bda629ab36824dae09 (patch) | |
tree | 279a9e6694197e31630dd793696b1769feb4823f /framework/Web/UI/WebControls/TDataList.php | |
parent | 8c659a56ca8dccd8f3a427ad3121c2296c55e9ae (diff) |
Updated TDataList tutorial.
Diffstat (limited to 'framework/Web/UI/WebControls/TDataList.php')
-rw-r--r-- | framework/Web/UI/WebControls/TDataList.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index 819febd6..e3748d22 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -34,8 +34,13 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); * then the corresponding content will be displayed alternatively with that
* in {@link setItemTemplate ItemTemplate}. The content in
* {@link setSeparatorTemplate SeparatorTemplate}, if not empty, will be
- * displayed between items. All these templates are associated with styles that
- * may be applied to the corresponding generated items. For example,
+ * displayed between items. Besides the above templates, there are two additional
+ * templates, {@link setEditItemTemplate EditItemTemplate} and
+ * {@link setSelectedItemTemplate SelectedItemTemplate}, which are used to display
+ * items that are in edit and selected mode, respectively.
+ *
+ * All these templates are associated with styles that may be applied to
+ * the corresponding generated items. For example,
* {@link getAlternatingItemStyle AlternatingItemStyle} will be applied to
* every alternating item in the data list.
*
@@ -81,10 +86,10 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); * The event mainly informs the server side that the end-user has made a selection.
*
* TDataList raises an {@link onItemCommand OnItemCommand} whenever a button control
- * within some TDataList item raises a <b>Command</b> event. If the command name
+ * within some TDataList item raises a <b>OnCommand</b> event. If the command name
* is one of the followings: 'edit', 'update', 'select', 'delete', 'cancel' (case-insensitive),
* another event will also be raised. For example, if the command name is 'edit',
- * then the new event is {@link onEditCommand OnSelectCommand}.
+ * then the new event is {@link onEditCommand OnEditCommand}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
|