We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05237a5 + 3e8a811 commit a4f452fCopy full SHA for a4f452f
src/app/grid/grid-remote-filtering-sample/remote-filtering-sample.component.ts
@@ -79,10 +79,14 @@ export class RemoteFilteringSampleComponent implements OnInit {
79
const filteringExpr = this.grid.filteringExpressionsTree.filteringOperands;
80
const sortingExpr = this.grid.sortingExpressions[0];
81
82
+ if (isFiltering) {
83
+ virtualizationState.startIndex = 0;
84
+ }
85
+
86
this._prevRequest = this._remoteService.getData(
87
{
88
chunkSize: this._chunkSize,
- startIndex: isFiltering ? 0 : virtualizationState.startIndex
89
+ startIndex: virtualizationState.startIndex
90
},
91
filteringExpr,
92
sortingExpr,
0 commit comments