mjlecomte
15 Dec 2008, 6:44 AM
Class: Ext.ux.form.XCheckboxGroup
Description: This is just enhancing the standard CheckboxGroup class a tad.
Docs: Ext.ux.form.XCheckboxGroup (http://extjs-ux.org/docs/index.html?class=Ext.ux.form.XCheckboxGroup)
Demo: here (http://extjs-ux.org/repo/authors/mjlecomte/trunk/Ext/ux/form/examples/xcheckboxgroup.html)
http://extjs-ux.org/repo/authors/mjlecomte/trunk/Ext/ux/form/examples/xcheckboxgroup.PNG
Features:
adds configurable toolbar
preconfigured toolbar All, None, and Invert buttons that select all, select none, or invert current selection of checkboxes within the group respectively.
adds data config option so group will automatically build the checkboxgroup from the supplied json data set.
this implementation exposes the underlying Panel leveraged by the CheckboxGroup so you can configure the panel any way you like (for example adding autoScroll: true, specifying width/height/autoheight, adding toolbars, etc.).
Notes:
specify panelTools: null if you don't want a toolbar
currently the external data specified (if any) will overwrite (not replace) any inline data specified for the group.
Revisions:
0.2 - disabled items would still be altered by toolbar actions. added config setting to control replacement of "items" specified with "data".
0.1 - initial
Description: This is just enhancing the standard CheckboxGroup class a tad.
Docs: Ext.ux.form.XCheckboxGroup (http://extjs-ux.org/docs/index.html?class=Ext.ux.form.XCheckboxGroup)
Demo: here (http://extjs-ux.org/repo/authors/mjlecomte/trunk/Ext/ux/form/examples/xcheckboxgroup.html)
http://extjs-ux.org/repo/authors/mjlecomte/trunk/Ext/ux/form/examples/xcheckboxgroup.PNG
Features:
adds configurable toolbar
preconfigured toolbar All, None, and Invert buttons that select all, select none, or invert current selection of checkboxes within the group respectively.
adds data config option so group will automatically build the checkboxgroup from the supplied json data set.
this implementation exposes the underlying Panel leveraged by the CheckboxGroup so you can configure the panel any way you like (for example adding autoScroll: true, specifying width/height/autoheight, adding toolbars, etc.).
Notes:
specify panelTools: null if you don't want a toolbar
currently the external data specified (if any) will overwrite (not replace) any inline data specified for the group.
Revisions:
0.2 - disabled items would still be altered by toolbar actions. added config setting to control replacement of "items" specified with "data".
0.1 - initial