This question is locked. New answers and comments are not allowed.
I implemented the following function to clear all the filters in my grid at once:
This method worked fine in the Q2 grid version but no longer works after upgrading to the latest Q3 build. The error is thrown on the call to the .rebind() method of the grid. Any ideas or why the call to rebind is failing with error "Error! The requested URL did not return JSON" Thanks.
// Clears all grid filters function clearFilters(e) { // Get the grid id var gridId = $('.t-grid').attr('id'); e = new $.Event(e); e.preventDefault(); var grid = $('#' + gridId).data('tGrid'); grid.filter(''); grid.rebind(); alert('All grid filters cleared'); }
This method worked fine in the Q2 grid version but no longer works after upgrading to the latest Q3 build. The error is thrown on the call to the .rebind() method of the grid. Any ideas or why the call to rebind is failing with error "Error! The requested URL did not return JSON" Thanks.