Please extend the 'maskedbox' filter before using it.
$.extend($.fn.datagrid.defaults.filters, {
    maskedbox: {
        init: function(container, options){
            var input = $('<input>').appendTo(container);
            input.maskedbox(options);
            return input;
        },
        getValue: function(target){
            return $(target).maskedbox('getValue');
        },
        setValue: function(target, value){
            $(target).maskedbox('setValue', value);
        },
        resize: function(target, width){
            $(target).maskedbox('resize', width);
        }
    }
})