[Vtigercrm-developers] JS event trigger on tab change in detail view

nilay khatri nilay.spartan at gmail.com
Tue Jul 27 07:58:11 GMT 2021


Ah no, although that is correct when you want to play with related lists.

Challenge is for changing tabs, summary to detail, update, or any other
custom tab added.

On Tue, Jul 27, 2021 at 1:16 PM Alan Lord <alanslists at gmail.com> wrote:

> On 27/07/2021 07:23, nilay khatri wrote:
> > We have Headerscript which injects few elements in the Details view of
> > records.
> >
> > The problem is when the user switches between the Tabs, summary, detail,
> > related lists. There seems to be no specific event which is triggered
> > after the particular tab has been loaded.
>
> Am pretty sure it's this:
>
> app.event.on("post.relatedListLoad.click", function(event, container) {
>         ...
> }
>
>
> Check in Vtiger_Detail_Js
>
> Obviously, you must have the right container element to attach the
> listener to in the first place.
>
> HTH
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210727/cafb6ccc/attachment.html>


More information about the vtigercrm-developers mailing list