You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For regular DataSource, when the table is triggered and there's already a processing trigger, the previous trigger will be canceled and the new one will be invoked
What is the current behavior?
For InfiniteDataSource, the previous trigger is being canceled but the new one is not being invoked, which virtually causes the table to be stuck in loading mode
What are the steps to reproduce?
Take the infinite scroll example, add a search input that will do datasource.setFilter (make sure to register for filter custom trigger)
Write a single character
While the request is loading, write another character.
Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
angular: 10.x
ngrid: 2.x (last version before 3)
The text was updated successfully, but these errors were encountered:
@shlomiassaf sure, I'll give it a try. but can you point me to the right place? I wasn't able to debug it all the way. I've reached onTrigger in infinite-scroll-datasource.context and to execute in execution-queue.ts. in execute there's this.checkOverlap. there's an overlap when you invoke setFilter multiple times (the fromRow and toRow are the same, the entire visible rows)
What is the expected behavior?
For regular DataSource, when the table is triggered and there's already a processing trigger, the previous trigger will be canceled and the new one will be invoked
What is the current behavior?
For InfiniteDataSource, the previous trigger is being canceled but the new one is not being invoked, which virtually causes the table to be stuck in loading mode
What are the steps to reproduce?
datasource.setFilter
(make sure to register forfilter
custom trigger)Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
angular: 10.x
ngrid: 2.x (last version before 3)
The text was updated successfully, but these errors were encountered: