Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
How can i call a script after initial Tab is rendered / display in igx-tabs
posted

I am having problem rendering a AG Grid table on an IGX-Tabs

The fix for me is to call a function to show and hide the grid based on what  of the grid when the tab gets focus which i do with this code

<igx-tabs (onTabItemSelected)="itemSelected($event)" style="border-right: 1px solid #f1f1f1; padding-right: 1em;">
This works if user clicks on the tab but it does not work for the initial Tab which is displayed without a click. So i am wondering is there a way i can Triger after the page / tab is rendered to call a function which will set the value ?
Parents
No Data
Reply
  • 60
    Offline posted

    Hello,

    Thank you for contacting Infragistics Support.

    I have been looking into the described behavior and I was trying to reproduce it using this sample. However, on my side, everything works as expected and when the tab is initially loaded the itemSelected event is fired.

    For investigating this further, it would be very helpful if you could modify the provided so that it replicates the behavior on your side. Alternatively, if the issue cannot be reproduced within our sample please feel free to provide your own sample. Please remove any external dependencies and logic that are not directly related to this issue. This is going to be highly appreciated and will help me debug and investigate this issue on my side.

    Looking forward to hearing from you.

    Regards,
    Malin Hadzhiev
    Entry Level Software Developer
    Infragistics

Children
No Data