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
1115
After update to v19.1 get_tabs doesn`t work
posted

We updated IG to v19.1 and now js function doesn`t work

var tabs = $find(gWebTabCtrlName);

var nSelectedIndex = tabs.get_selectedIndex();

tabs.get_tabs()[nSelectedIndex].get_key()

and function tabs.get_tabs()[nSelectedIndex] return undefined, as I see now only 3 items in tabs, but I have 10

How I should change code to get correct tab?

Parents
  • 3995
    Verified Answer
    Offline posted

    Hello Anton,

    I made a quick demo with 19.1 and it seems that get_tabs() is returning the correct amount of tabs. Is there anything else I should apply to reproduce this?

    I'm attaching the demo I tried. I added a submit button and after submitting $find("MainContent_WebTab1").get_tabs() is still returning the correct amount of tabs.

    Can you modify it and attach here the reproducible sample?

    2018.WebTabDemo.zip

Reply Children