$('#dg').datagrid({ onBeforeLoad: function(param){ var opts = $(this).datagrid('options'); param.filterMatchingType = opts.filterMatchingType; }})