$.extend($.fn.datagrid.defaults.filters, {
tagbox: {
init: function (container, options) {
var input = $('<input>').appendTo(container);
input.tagbox(options);
return input;
},
getValue: function (target) {
return $(target).tagbox('getValues');
},
setValue: function (target, value) {
if (value) {
$(target).tagbox('setValues', value);
} else {
$(target).tagbox('clear');
}
},
resize: function (target, width) {
$(target).tagbox('resize', width);
}
}
});Work but in delete tag - error
Uncaught TypeError: can't access property "jQuery3310104949804947211292" of undefined