|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<head>
<title>radiogroup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/Javascript">
Ext.onReady(function(){
var simple = new Ext.FormPanel({"width":800,"baseParams":{"x-requested-by":"ExtJS"},"frame":true,"action":"","title":"HTML::FormFu::ExtJS - radiogroup","method":"post","buttons":[],"items":[{"hideLabel":false,"value":"2b","name":"foo","fieldLabel":"Fancy Checkboxgroups","xtype":"radiogroup","items":[{"class":"subgroup","items":[{"cls":"x-form-check-group-label","anchor":"-15","text":"group 1","xtype":"label"},{"inputValue":"1a","boxLabel":"item 1a","name":"foo"},{"inputValue":"1b","boxLabel":"item 1b","name":"foo"}]},{"class":"subgroup","items":[{"cls":"x-form-check-group-label","anchor":"-15","text":"group 2","xtype":"label"},{"inputValue":"2a","boxLabel":"item 2a","name":"foo"},{"checked":"checked","inputValue":"2b","boxLabel":"item 2b","name":"foo"}]}]},{"hideLabel":false,"name":"foo2","fieldLabel":"Without groups","xtype":"radiogroup","items":[{"inputValue":"1a","boxLabel":"item 1a","name":"foo2"},{"inputValue":"1b","boxLabel":"item 1b","name":"foo2"},{"inputValue":"2a","boxLabel":"item 2a","name":"foo2"},{"inputValue":"2b","boxLabel":"item 2b","name":"foo2"}]},{"hideLabel":false,"name":"foo3","columns":1,"fieldLabel":"one column","xtype":"radiogroup","items":[{"inputValue":"1a","boxLabel":"item 1a","name":"foo3"},{"inputValue":"1b","boxLabel":"item 1b","name":"foo3"},{"inputValue":"2a","boxLabel":"item 2a","name":"foo3"},{"inputValue":"2b","boxLabel":"item 2b","name":"foo3"}]}]});;
simple.render(document.body);
});
</script>
</head>
<body>
<a href="../forms/radiogroup.yml">Form config file</a><br/><br/>
</body>
</html>
|