| disabled | ใช้กำหนด disabled ของ buttongroup |
|---|
config:disabled
value:boolean
content:เป็น configuration attribute ของ buttongroup โดยจะใช้กำหนด disabled ของ buttongroup ( default value คือ false )
example:var button_1 = { label: "Radio 1", value: "1" }; var button_2 = { label: "Radio 2", value: "2" }; var button_3 = { label: "Radio 3", value: "3" }; var attributes = { container: "bgroup", disabled: true }; var group_button = new YAHOO.widget.ButtonGroup ( "bgroup", attributes ); group_button.addButtons ( [ button_1, button_2, button_3 ] );