JS watch a refresh of the apex

Apex Version 4.2.6

I'm adding some dynamic classes and removing some DOMs with JS on my report.


HPbear when I use the pagination, it refreshes my DOM at this point, I need to raise my initial JS once more to do its magic, but I am struggling to find the path.

I tried ajaxComplete but seems not to do anything.

If you want to stick with some javascript, you can. The event of dynamic action "refresh of after" can also be linked to with an event listener. The event is called "apexafterrefresh".

(function(){
  var f = function(){ ... };
  $.ready( function(){ f(); ) );
  $("#myreportselector").on( "apexafterrefresh", function(){ f(); } );
})();

Nothing prevents you from rolling in your current plan of js.

Tags: Database

Similar Questions

  • region of refresh on the page parent after closing popup inframe

    Hello

    I have parent page with several regions, and one of the reports is related popup to another page using inframe. All these are works fine but now iam trying to a parent region partially regenerate after closing the window contextual inframe, I tried apex.submit (region1) but it does not work? no idea how can I update this after the closure of the window popup?

    Best regards and thank you

    Hi Gor_Mahia,

    Gor_Mahia wrote:

    Here are the details,

    application ID = 46268

    page ID = 13

    demo123/demo123

    proj2010 = workspace

    Use the links in the second column IR

    Once again thanks for your time.

    Check your application now. The interactive report is refreshing on the closure of the modal dialog box using the method of dynamic, such action described in the blog post:

    Monkey on Oracle: Modal popup with dynamic Actions

    Here are the changes:

    • Edited your action dynamic and value:

    In the section "Advanced":

    Scope of the event: Dynamics

    In 'true Actions:

    Action edited your "run the Javascript Code" and "Code" to modified:

    From:

    /* prevent default behavior on click */
    var e = this.browserEvent;
    e.preventDefault();
    /* Trigger JQuery UI dialog */
    var horizontalPadding = 30;
    var verticalPadding = 30;
    $('