This project is read-only.

after calling grid.rebind() any filter will cause all filters to appear active


After calling the Client Side API method rebind. When the user sets a filter, all filters appear to be active


yads12 wrote Feb 24, 2011 at 10:00 PM

The current rebind method in telerik.grid.js Sets each column's filter to an empty array. When the user then creates a new filter there is snippet that looks like
            this.$columns().each($.proxy(function (index, element) {
                $('.t-grid-filter', element).toggleClass('t-active-filter', !!this.columns[index].filters)
            }, this));
Since filters is now an empty array it sets the t-active-filter class on all columns that are filterable.

wrote Feb 21, 2013 at 11:58 PM