<div dir="ltr">Ah no, although that is correct when you want to play with related lists.<div><br></div><div>Challenge is for changing tabs, summary to detail, update, or any other custom tab added.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 27, 2021 at 1:16 PM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 27/07/2021 07:23, nilay khatri wrote:<br>
> We have Headerscript which injects few elements in the Details view of <br>
> records.<br>
> <br>
> The problem is when the user switches between the Tabs, summary, detail, <br>
> related lists. There seems to be no specific event which is triggered <br>
> after the particular tab has been loaded.<br>
<br>
Am pretty sure it's this:<br>
<br>
app.event.on("post.relatedListLoad.click", function(event, container) {<br>
        ...<br>
}<br>
<br>
<br>
Check in Vtiger_Detail_Js<br>
<br>
Obviously, you must have the right container element to attach the <br>
listener to in the first place.<br>
<br>
HTH<br>
<br>
Al<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>