Ag grid Angular ag Grid-onSortChanged-停止数据源请求
我将ag网格与rowModelType一起使用:“无限” 当我请求排序、筛选或更改页面时,系统运行数据源的getRows 在运行getRows并停止执行之前,我需要检查排序请求(或过滤器)Ag grid Angular ag Grid-onSortChanged-停止数据源请求,ag-grid,ag-grid-angular,Ag Grid,Ag Grid Angular,我将ag网格与rowModelType一起使用:“无限” 当我请求排序、筛选或更改页面时,系统运行数据源的getRows 在运行getRows并停止执行之前,我需要检查排序请求(或过滤器) onSortChanged: () => { if (something) { // continue with sort and execute getRows ... } else { // stop with sort and NOT execute getRows...
onSortChanged: () => {
if (something) {
// continue with sort and execute getRows ...
} else {
// stop with sort and NOT execute getRows...
}
};