 $.extend($.fn.treegrid.methods, {
            clientPaging: function (jq) {
                return jq.each(function () {
                    var state = $(this).data('treegrid');
                    var opts = state.options;
                    opts.loadFilter = pagerFilter;
                    var onBeforeLoad = opts.onBeforeLoad;
                    opts.onBeforeLoad = function (row, param) {
                        state.originalRows = null;
                        onBeforeLoad.call(this, row, param);
 