I have a JET table, which uses PagingDataProviderView as a backing DataProvider. Since this class wraps a CollectionDataProvider, it essentially accepts a Collection to provide for REST endpoint/url to fetch data.
Now I have a case where, the backing table may not be available at DB, and thus the url for Collection is unable to fetch it. In such a case, the JET Table blocks the UX, while its appearing to still load but no execution really takes place from there on with 400 returned as error.
Is there a way to detect such a scenario happening so as to abort the entire process or maybe set an error callback for PagingDataProviderView to trigger an appropriate error response?
Edit: Basic question I am trying to ask is, How to detect/handle unavailabilty from serviceURL in case of PagingDataProviderView? since it blocks the UX with rows loading, rather than showing 'No rows to display.', like it does in case of CollectionDataProvider automatically?