Does JET have a call that brings a named tab to the front of its window?

Best Answer

  • Neil Shah
    Answer ✓
    We can control the size of the explorer window the app is in, but there's no way to bring it to the front or back.

    We can not control any other window or tab

Answers

  • May I know how do we control the size of the parent explorer window?
  • Sample code is in the JET Demo app

    Helios(Eikon) | Internal | JET.js Tutorials and Demos | Core Functionality | Resize Window
  • for reference

    width
    height
    inner
    resizeTo
    xDelta
    yDelta
    resizeBy

    JET.init({
    ID: "JETSample"
    });

    $("#resizeTo").click(function() {
    var width = parseInt($("#width").val());
    var height = parseInt($("#height").val());
    var inner = $("#resize-to-inner").prop("checked");
    JET.resizeTo(width, height, inner);
    });

    $("#resizeBy").click(function() {
    var xDelta = parseInt($("#xDelta").val());
    var yDelta = parseInt($("#yDelta").val());
    JET.resizeBy(xDelta, yDelta);
    });