Each row selection in InfoWindow executes a query for all Related Tabs.
I suggest making a query only if 1 row is selected in InfoWindow.
It is necessary to replace the following lines in class InfoWIndow (line 185):
I think we should consider making the retrieval of related details as manual instead of auto. A lot of time, user is just searching for record and not interested at the related details.
maybe use collapse status to auto or manual. in case use collapse detail tab don't query it and in case expand then query for active tab, when active other tab then query for this tab.
If we try to do the suggested code modification on actual version 7.1z we have a NPE:
BTW i think that this ticket should be kept open because both and suggestions are good and avoid an unwanted load on big databases instances when users wants just to check values from the main info.