PDA

View Full Version : Ext.ux.ListView.plugin.CheckboxSelection



KRavEN
6 Oct 2010, 2:14 PM
This works similar to Grid CheckboxSelectionModel except it's for a ListView.

Extract into the examples/list folder for a demo. (Must be behind a webserver to load the plants.xml file)
22718

KRavEN
6 Oct 2010, 2:40 PM
If you want the background of the Checkbox column to look the same as Grid CheckboxSelectionModel just set the plugin cls to ux-lv-checkboxsel-wrap like this:

var checkcolumn = Ext.ComponentMgr.createPlugin({
ptype : 'lvcheckboxselection',
cls: 'ux-lv-checkboxsel-wrap'
});
and add this css (adjusting for the correct path to the ext resources):

.x-list-body .ux-lv-checkboxsel-wrap {
background: url("../../resources/images/default/grid/grid3-special-col-bg.gif") repeat-y scroll right center transparent;
}