diff options
author | xue <> | 2006-07-29 14:43:53 +0000 |
---|---|---|
committer | xue <> | 2006-07-29 14:43:53 +0000 |
commit | e0c9de073cce5b5c9975694c03e2dbe63788bd66 (patch) | |
tree | 0c04506594635064d9f3f62eb45c8aad5c3be685 /framework/Web/UI/WebControls/TListBox.php | |
parent | 6385105e7793509de726b2941d038840c04195c1 (diff) |
Merge from 3.0 branch till 1305.
Diffstat (limited to 'framework/Web/UI/WebControls/TListBox.php')
-rw-r--r-- | framework/Web/UI/WebControls/TListBox.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index 972ebbcb..79b73fb6 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * The property {@link setRows Rows} specifies how many rows of options are visible
* at a time. See {@link TListControl} for inherited properties.
*
+ * Since v3.0.3, TListBox starts to support optgroup. To specify an option group for
+ * a list item, set a Group attribute with it,
+ * <code>
+ * $listitem->Attributes->Group="Group Name";
+ * // or <com:TListItem Attributes.Group="Group Name" .../> in template
+ * </code>
+ *
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
* @package System.Web.UI.WebControls
|