Sign Up

❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now
Sign InSign Up

OrclQA.Com

OrclQA.Com Logo OrclQA.Com Logo

OrclQA.Com Navigation

  • Oracle
  • Oracle Apex
  • Python
  • Questions
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Ask Question
  • Add Post
  • Oracle
  • Oracle Apex
  • Python
  • Questions
OrclQA Wiki
OrclQA Wiki

OrclQA Wiki

  • 6 Questions
  • 1 Answer
  • 0 Best Answers
  • 58 Points
View Profile
  • 3
OrclQA WikiProfessional
Asked: October 3, 20202020-10-03T16:26:26+05:30 2020-10-03T16:26:26+05:30

How to refresh region using JavaScript in Oracle Apex?

  • 3

I have an interactive report region with a where clause specified to filter the report based on the page item value.

I need to set that page item value and then refresh the report region using JavaScript.

How can I do that?

javascriptoracle apex
  • 5
  • 16k
  • 0
  • 0
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
Answer

5 Answers

  1. Vinish Kapoor

    Vinish Kapoor

    • 1 Question
    • 727 Answers
    • 63 Best Answers
    • 4k Points
    View Profile
    Vinish Kapoor Enlightened
    2020-10-03T16:32:23+05:30Added an answer on October 3, 2020 at 4:32 pm

    Follow these steps:

    Specify a static id to your interactive report region, for example, "empRgn".

    Then use the following JavaScript code to set the page item value and refresh the report region using a dynamic action to execute JavaScript code:

    apex.item("P2_DEPTNO").setValue(10);
    apex.region("empRgn").refresh();
    • -1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
    • Ibrahim Rajar

      Ibrahim Rajar

      • 0 Questions
      • 1 Answer
      • 0 Best Answers
      • 25 Points
      View Profile
      Ibrahim Rajar Contributor
      2022-08-09T15:29:57+05:30Replied to answer on August 9, 2022 at 3:29 pm

      Please extend this to step-by-step process

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
  2. muhammad furqan

    muhammad furqan

    • 0 Questions
    • 3 Answers
    • 0 Best Answers
    • 35 Points
    View Profile
    muhammad furqan Contributor
    2021-05-20T13:31:35+05:30Added an answer on May 20, 2021 at 1:31 pm

    I want to refresh the Chart region based on the selection of value in select list. Problem is I don't want to refresh the whole page once the selection is changed.

    I am using Oracle Apex 4.

    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
    • OrclQA Wiki

      OrclQA Wiki

      • 6 Questions
      • 1 Answer
      • 0 Best Answers
      • 58 Points
      View Profile
      OrclQA Wiki Professional
      2021-05-22T14:42:21+05:30Replied to answer on May 22, 2021 at 2:42 pm

      Create dynamic action on the list item to refresh the chart region only.

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
      • muhammad furqan

        muhammad furqan

        • 0 Questions
        • 3 Answers
        • 0 Best Answers
        • 35 Points
        View Profile
        muhammad furqan Contributor
        2021-11-17T17:05:43+05:30Replied to answer on November 17, 2021 at 5:05 pm

        can you please share the code ?

        • 0
        • Share
          Share
          • Share on Facebook
          • Share on Twitter

You must login to add an answer.

Forgot Password?

Sidebar

Explore

  • Ask Question
  • Add Post

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
© 2022 OrclQA.Com. All Rights Reserved.
Privacy Policy - About Us