I have a grid with a “checkedlist” filter type that works when the grid is loaded with no filter applied. The filter also works when it is applied manually. Unfortunately, when the grid is loaded through the “addfilter” function, the “LOADING” box does not disappear. The “addfilter” function I am using is generated dynamically using server-side variables, and is posted below
<?php
if(isset($posted_status) AND $posted_status <> NULL AND $posted_status <> '' AND $posted_status <> 'undefined') {
?>
var addfilter = function () {
var filtergroup = new $.jqx.filter();
var filter_or_operator = 1;
var filtervalue = '<?php echo $posted_status; ?>';
var filtercondition = 'equal';
var filter1 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
filtergroup.addfilter(filter_or_operator, filter1);
// add the filters.
$("#pp-highvaluegrid").jqxGrid('addfilter', 'status', filtergroup);
// apply the filters.
$("#pp-highvaluegrid").jqxGrid('applyfilters');
}
$("#pp-highvaluegrid").on("initialized", function () { addfilter(); });
<?php
}
?>
Additionally, I am using jQuery 1.11.2 and jQWidgets v3.7.1. This problem does not exist in previous versions (v3.0.2 for example), but there are other bugs in that version that prohibit my simply downgrading.
Thank you very much for any help you can provide.