I have a page where an event grid is loaded in ajax. I also have a menu of actions on this screen.
As soon as you access, the page loads (including the action menu), and the event grid, because it is heavier, loads separately.
What is happening is that while the event table does not load completely, I can not trigger an action.
Example: I enter the page and the event grid starts loading (I see in the console the pending request) When I click on any link, the request is made, but only completed after the event grid finishes loading. At this time, two pending requests are on the console only: the event grid, and the link I clicked.
Does anyone have a light on how to solve this problem?
All requests are asynchronous. I think about aborting the pending requests when clicking on an action, but how ??