Forum Stats

  • 3,733,838 Users
  • 2,246,829 Discussions


How to Listen for CollectionDataProvider Fetch Completion

DaveArch Member Posts: 81 Red Ribbon

JET Version: 10.0

Hi Community

I was wondering if anyone knew the best way of finding out when a fetch has been completed by a CollectionDataProvider?

Our use case is to listen for the point at which the fetch from the server is complete and the rows are being loaded into the table.

I see there is the whenReady() function which returns a Promise. This sounds exactly like what we need. Using it, I see the promise resolves before any custom parsing of the data into table rows is complete however I just want to make sure that using this function is the correct approach for the use case.

Many thanks


Sign In or Register to comment.