@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
17 lines (16 loc) • 582 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GridFilterInternalApi = void 0;
const ApiBase_1 = require("../Implementation/ApiBase");
class GridFilterInternalApi extends ApiBase_1.ApiBase {
/**
* Compares to Grid Filter to see if they are identical
*/
isGridFilterDifferent(oldFilter, newFilter) {
if (oldFilter == undefined && newFilter == undefined) {
return false;
}
return oldFilter?.Expression !== newFilter?.Expression;
}
}
exports.GridFilterInternalApi = GridFilterInternalApi;