$(' #beerId ').ComboBox({
Url:'/index.php/admin/beer/getbeer ',
Valuefield:' ID ',
TextField:' Text ',
Panelheight:' Auto ',
Multiple: True,
Formatter: function(Row) {
VarOPTs=$(This).ComboBox(' Options ');
Return' <input type= ' checkbox ' class= ' Combobox-checkbox > '+Row[OPTs.TextField]
},
Onloadsuccess: function() {
VarOPTs=$(This).ComboBox(' Options ');
VarTarget= This;
VarValues=$(Target).ComboBox(' GetValues ');
$.Map(Values,function(Value) {
VarEl=OPTs.Finder.Getel(Target,Value);
El.Find(' Input.combobox-checkbox ')._propattr(' Checked ',True);
})
},
OnSelect: function(Row) {
Console.log (row);
VarOPTs=$(This).ComboBox(' Options ');
VarEl=OPTs.Finder.Getel(This,Row[OPTs.Valuefield]);
El.Find(' Input.combobox-checkbox ')._propattr ( ' checked ' , true);
},
onunselect< Span style= "COLOR: #ff9d00" >: function (row" {
var opts = $ this).
Drop-down check box