Wonderful, thank you.
Another question: I would like to use tagbox in property grid. It works fine except the "required" validation. The tags are not recognized as input value.
$.extend($.fn.datagrid.defaults.editors, {
tagbox: {
init: function(container, options){
var input = $('<input type="text">').appendTo(container);
return input.tagbox(options);
},
destroy: function(target){
$(target).tagbox('destroy');
},
getValue: function(target){
return $(target).tagbox('getValues');
},
setValue: function(target, value){
$(target).tagbox('setValues', value);
},
resize: function(target, width){
$(target).tagbox('resize', width);
}
}
});
row.editor = {
type: "tagbox",
options: {required: true}
}