The interactive report update and problem of Plugin JQuery

Hello


I have interactive report in my page. So I use the plugin jQuery context menu when user right click on a column he get an option to add, delete, update and another option.
javascript pseude code for context menu
$(function(){
     context_menu();
});

function context_menu(){

  $('.Col1').contextMenu();
}
Suppose the user selects Delete option. In this case jQuery popup appears and users enter data that are saved in the table by using the application process. After you use gReport.search ('SEARCH'), I refresh the page...

Now the question - now when I right click on the column of my jQuery context menu does not work...


Used workaround solution - I've added onmouseover = context_menu () function for the column... link and it works fine...


Now my question is... whenever the user moves the mouse over the column, it will run function context_menu()... There will be no unwanted problem... or memory leak problem...

Please advice...


Thank you
shijesh

Hello

Okay, that's good.
But if you take this plugin to use to select the option group you also code of loan that trigger events on IR Ajax calls.

Kind regards
Jari

Tags: Database

Similar Questions

  • Contains no column 5 added to the interactive report apex

    Hi, I added a column in the query to the interactive report region and it does not appear in the designer of the Page, as it is not available when running in the list of columns through the action of the report menu.

    In the 4 apex when the query was changed directly a message was generated with the details of the new or modified columns, but the Apex 5 when I change the query and save, nothing happens.

    How to view the new column?

    Thank you.

    carlosjch wrote:

    Thanks fac586, I already tried to use view of the component, when I modify the query the new column is added, a message appears: area update.   No details of the new column appears in the message.  The result is the same, the column is not available after that.

    What happens if you create another IR with the new query?

  • calculate the interactive report function

    Hi all the 1.



    I need assistance with an interactive report, that I am producing. What I'm trying to do is use to calculate the interactive report function and add the number of a week (for example week 26) and add it to the estimated number of the week



    The problem I have is that they are on different lines



    The table below shows that I work with.



    Week no. | County forecast | Real number*.

    ___26__ | ___0___ | ___128231___

    ___26__ | ___180916___ | ___0___

    ___27__ | ___0___ | ___164666___

    ___27__ | ___180916___ | ___0___

    ___28__ | ___0___ | ___169302___

    ___28__ | ___180916___ | ___0___

    ___29__ | ___0___ | ___159857___

    ___29__ | ___180916___ | ___0___

    ___30__ | ___0___ | ___162210___

    ___30__ | ___180916___ | ___0___

    ___31__ | ___0___ | ___152471___

    ___31__ | ___180916___ | ___0___





    Any help would be welcome :)



    Thanks in advance

    -N.S.N.O.

    Hello

    You could always wrap your initial statement in an external selection that does the aggregation:

    select WEEK_NO, NVL(SUM(FORECAST_COUNT),0) FORECAST_COUNT, NVL(SUM(ACTUAL_COUNT),0) ACTUAL_COUNT FROM (
    select ROUND(TO_NUMBER(TO_CHAR(TO_DATE(rpad(con_add_td_hr, 10),'yyyy-mm-dd'),'ddd')-2)/7)+1 WEEK_NO, 0 FORECAST_COUNT, sum(cons_total) ACTUAL_COUNT
    from corcon01_hour_totals
    where db_name='CSAHEPA' and substr(con_add_td_hr,1,4)='2008' and CON_ADD_USER_ID not like '%LDL%'
    group by ROUND(TO_NUMBER(TO_CHAR(TO_DATE(rpad(con_add_td_hr, 10),'yyyy-mm-dd'),'ddd')-2)/7)+1
    UNION
    select week_no, sum(manual_entry_cons)+sum(citedi_cons) FORECAST_COUNT, 0 ACTUAL_COUNT
    from concount_forecast_data
    where db_name ='CSAHEPA' and year ='2008'
    group by week_no
    )
    GROUP BY WEEK_NO
    

    There are probably other ways to handle this and you would have to make sure that the select statements internal consistent column names, so the outer statement can use.

    Andy

  • Excel not downloaded in the same order as on the interactive report

    I have download to Excel on the interactive report, it is not sorted in the same way? Can I fix this?

    Hi Doug,.

    Could be a quick solution to this solution, you can have a download link on the header of the report area and that it points to a page that contains the same report with the csv model.

    Download CSV Report 
    
    where 3 is the page number for csv output report.
    *replace click by onclick
    

    or if you want more control over the report, you can create a button on the interactive report region and at the click of the button run a process to download a csv output file.

    Put dummy code for creating csv file

    DECLARE
    CURSOR cEmp IS
    SELECT
         Eno,Ename,SAL,DEPT
    FROM emp_table ORDER BY 1 DESC, 2 DESC,4;
    BEGIN
         owa_util.mime_header('application/octet', FALSE );
            htp.p('Content-Disposition: attachment; filename="Employee.csv"');
            owa_util.http_header_close;
    --Printer Header Row
         htp.p('Employee '  || ',' || 'Name'   || ',' || 'Salary'  || ','|| 'Department' ||  chr(13));
    for cThis in cEmp
    LOOP
              htp.p( '"'|| cThis.eno ||'"'||   ','|| '"'|| cThis.ename   || '"'|| ',' || cThis.sal||  ','|| '"'|| cThis.dept  || '"' || chr(13));
        END LOOP;
    htmldb_application.g_unrecoverable_error := true;
    EXCEPTION
              WHEN OTHERS THEN
                   htp.p('Download Error ' || SQLERRM || ' with error code ' || SQLCODE);
    END;
    

    Also, you can disable the download report link in the interactive report menu by going to reports-> Search bar attribute->, under include in the Actions Menu: uncheck the download option.

    I hope this helps.

    Thank you
    Manish

  • Calculations in APEX 4.2 on the interactive report and the update form

    Hello

    I know that people have asked similar questions, but I was not able to do this work. I'm doing some fairly simple math (addition, multiplication) in an application. I have 2 fields (VALUE_A, VALUE_B). I can get the addition and multiplication work in the interactive report, but I also need that it works correctly in the form of update. I also need update form to work dynamically so that if the values are changed, the correction calculated response is shown immediately on the update form and then reflected in the interactive report. I tried the dynamic action, with and without javascript without result. Any help would be appreciated.

    Request Express 4.2.6.00.03

    model application:

    https://Apex.Oracle.com/pls/Apex/f?p=82162:

    username: guest

    password: Peanut123

    Thank you

    Rachel

    ADD dynamic action

    After refresh of region

    Set value

    ELEMENT the VALUE to change

    check the fire on the load

    To source, use expression JavaScript

    If ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2")! = null)

    {

    parseInt ($v ("P2_TEST_1")) + parseInt ($v ("P2_TEST_2"));

    }

    ElseIf ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2") == null)

    {

    parseInt ($v ("P2_TEST_1"));

    }

    ElseIf ($v ("P2_TEST_1") == null & $v ("P2_TEST_2")! = null)

    {

    parseInt ($v ("P2_TEST_2"));

    }

    on the other

    { 0; }

    That add another dynamic action on change POINT P2_TEST_1 and set even with the same expression JavaScrit action. but NOT fire on the load
    Do the same for the ARTICLE P2_TEST_2

    And the same for A times B but change + to *.

    Here, I did samples for you with this code.

    https://apex.Oracle.com/pls/apex/f?p=83519 demo/demo

  • How to add the action button for each column in the interactive report

    Hi all

    I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

    1. to execute some stored procedure in need of that particular line item values

    2. returns a (id)

    3. go in another page in the application by passing the value out of the procedure (id).

    and I'm not find the way to do it. I tried now means:

    1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

    2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

    and I'm stuck...

    I just forms and global report and probably still think the "wrong" way .

    Any help would be appreciated!

    Thank you!!!


    user3253917 wrote:

    Please update your forum profile with a real handle instead of 'user3253917 '.

    I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

    So, in order to give him:

    1. the user must be able to choose the order in which I would copy (at page 4), select it,

    2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

    3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

    Any solution will be highly appreciated! Thank you very much!!!

    In simple terms:

    1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
    2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
  • Colon in link with the interactive report

    Hello

    I have two interactive reports which are connected by link column on one of the columns, the problem is that some of the values contains a colon

    for example, the value is ABC: 123 , but the linked report a value = 'ABC' is generated in the filter

    So I can see there are many sons and based on those I can escape the string using APEX_UTIL. URL_ENCODE so now I get Value = 'ABC % 3 A 123' in the filter that is still nothing.

    So I think on the interactive report, I need to somehow convert the return value on the page so the interactive report can deal with it, but I don't see how to do this and I can not find all threads that deal with these.

    I don't want to use an element on the page to filter the report the report is sometimes access directly and it would act/look different to other pages where we have it but don't have the problem that these values have no settlers. I can't remove the colon as they come from an external source.

    We use the apex 4.1

    Any ideas?

    WOWL wrote:

    This isn't the real value, but I think that its close enough for users, if I were to create a dynamic of any idea action that she could do as my knowledge of dynamic action is limited.

    Create dynamic Action to replace "_" with ":" when the IR is updated:

    When

    Event: After refresh
    Selection type: Region
    Region: IR / / whatever your area

    Real Actions

    Action: Run the JavaScript Code
    Fire on Page load: Yes

    // Change 'Colon Val' in selector to heading of colon-containing column
    $("#apexir_CONTROL_PANEL_COMPLETE .fielddata a:contains('Colon Val like')")
      .each(function () {
        $(this).text($(this).text().replace('_', ':'));
      }
    );
    
  • Default icons only for the interactive report

    Hi all

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.


    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    958442 wrote:
    Hi all

    Welcome to the forum: read the FAQ and the forum threads sticky (if you have not already done so) and update your profile with a real handle instead of '958442 '.

    When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/section type (s) (particularly as to distinguish if a 'report' is a standard report, an interactive report, or indeed a 'update report' (i.e. a tabular presentation))

    With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.

    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    It also helps explain what you tried (even better, Show us what you have tried on apex.oracle.com).

    You can view the IR to the default icon via a dynamic Action: + {: identifier of the thread = 2187972} + (obviously using "ICON" rather than "RETAIL"...)

    However, do you really intend to make use of other interactive report features? It seems that the report display is controlled by custom buttons, rather than shares of IR (filters, control breaks etc.). If this is the case then a standard report based on a custom template may be a better option than to try to work around all that offer interactive reports.

  • Of the interactive report in 4.0.2.00.07 partial Page Refresh?

    Hello

    I have a page on request with an interactive report (IR) and a card provided by card Oracle APEX. I have a text box and a button "submit". The user enters a value in the text box, clicks submit, and I run an international registration based on this value.
    Everything works well. The problem is that when I hit submit, the page is submitted to the interactive report, which translates the map have to reload, which is really messy.

    How can I get the interactive report to run without submitting the entire page? I can't understand in 4.0.2.00.07.

    I spotted a new 4.1 feature: Add field "Page to go" to the attributes of the region of

    The new attribute "Page to go" has been added to the regions of IR type, classic, tabular and plug-ins report having this feature is enabled. The values of the specified page elements will be subject to a partial 'Refresh of Page' request to implement session state, so that they can be used in the WHERE clause of the SQL statement in regions. A 'Refresh of Page partial' can be triggered with the dynamic action of "Refresh", by changing the sort or paginate.
    It sounds like I want to I am registered at tryapexnow.com and set up a test page with a text box, a "submit" button and an IR based on the content of the text box. In the definition of region IR, I put the text box such as the 'Page elements to send.
    Then, I created a dynamic Action "Refresh" to update the IR area when the user clicks the submit button.
    I've tested this and it worked exactly as I wanted - i.e. IR is based on the box without a full page sent.

    Problem is it's all in 4.1, which is probably a few weeks of production. Something similar is possible in 4.0.2.00.07?

    Thank you
    John

    Hi John,.

    I think that you will need to create two dynamic actions. A type of PL/SQL block with null; as a source and enter to go. The second Action is update dynamic region...

    Martin
    -----
    http://www.talkapex.com

  • Filter column position of the interactive report

    Hi all!

    First of all, sorry my English.

    I have a problem with filters standart on the interactive report column heading. Version 4.0.2 APEX. It is interactive report based on the view. Nothing unusual - behavior and the default templates. I have also the region of filter on the page, and after user-press "apply" button my package variables to session state of filter. View used these values. It is worked and filtered interactive report. But when I try also to use the filters on the heading of the column that is nothing past. I have try the column type: report Standart column and display text. I have try the Filter Type column: by default based on the Type of column and the list defined by the use of... Contain. Nothing, as no filter exists at all. Filtering with worked as usual action buttons. I think that this problem in a SEPARATE implicit in this filter. I know that there are quantitative limitation of DISTINCT values with column header filter, but I have nothing in the filter. And even I have type the value and press ENTER, nothing happened. Columns with Date type is fine, but String and number does not.

    There is no work around? Thank you.

    Solved within "parameterized" view, remove and replace with SELECT with params.

  • Filter delete automatically the interactive report

    Hello world

    We are seeing the question in the filter APEX. I applied the action filter-> filter. the filter is applied as expected. then we are navigate current page to another new page. When we return to the old filter page, we are not able to get the filter.

    For example: we have the "amount" column I applied a quantity of filter > filter 0 on page 1, then page 2 accessing we. When we return to page 1 we are not able to find the amount > 0 filter

    Let me know how to solve this problem.

    Kind regards

    Sushant

    Hi LnTInfotech,

    LnTInfotech wrote:

    Hi Sunil,

    Thanks for your information, but in my case, we do not save the default (primary) report. We have to got to page 1 to page 2 with any filter and return back to page 1 need to show the same filter.

    Kind regards

    Sushant

    Are you compensation/reactivate the interactive link (button, breadcrumb) report? Reference: a link to the interactive reports

    As clearing (CIR) /resetting (IRB) interactive report leads to clear the filters applied to the interactive report in the session active.

    Note: Filters / other attributes of the action menu applied to the interactive report are specific session, user may choose to save it as a saved report interactive and developer can choose to save as the main report.

    For more information about interactive reports see the Oracle APEX documentation and tutorials available on Oracle Learning Library like this:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R40/apexirr/apexirradv/apexirradv_ll.htm

    I hope this helps!

    Kind regards

    Kiran

  • How to change the lines in the interactive report?

    I want to change the lines in interactive reports before and after filtration. I added "edit_link in SQL and the column in the region but settings I don't know how to load data into the page with form created for editing data in line.

    There are examples in the sample applications, but the steps are.

    Create a new page which, with the right ID available, select the database details and allow you to edit the details and save them in return. A positive result of the Save (or cancel) arange the page with a branch back to your interactive report.

    On your interactive report, for your chosen link column, set it to branch to the page you created above and set the item of page ID on the page to the value of the ID in your crrent folder.  Selection lists will help here.

    Now, by clicking on your link edit show open the new page and select the details of the database preparation n for any update, you choose to make and record.

    Stewart

  • Ideas for work around ORA-06502: character string buffer too small on the interactive report

    Hello

    It comes to Apex 4.2.  We try to create an interactive report.  The report is for something similar at a follow-up time.  We try to concat a comments column as the sum of the hours.  For example,.

    Select TASK_NAME, sum (HOURS), to_char (XMLAGG (XMLELEMENT(E,E.COMMENTS ||) ' : ')). Extract ('//Text ()'). GETSTRINGVAL()) USER_COMMENTS of...

    This query works fine if we seek only to a window of 1 week.  The question that we live, when we expand the scope of the query to include data from 3 months, we hit ORA-06502 interactive report.  If we remove this column from the interactive report, then the report works very well.

    Anyone has any ideas on how we might be able to work around this problem?  I'm guessing we're reached the limit of 32 k on the report.  Ideally, we would show just the last X number of comments and then have a link to show all comments

    Any help would be appreciated

    Thank you

    Mike

    ListAGG raises an ORA-01489 for varchar2 > 4000 bytes

    OP has an ORA - 06502--> IR is running within a limit of 4 k / 32 k.

    quick fix: wrap USER_COMMENTS ListAGG in a substr (..., 1, 4000)

    Longer solution, use a subquery to modify comments based on ROW_NUMBER() (IE after the nth line, change the null)

    with
    -- simulating data
    t as (select task_id, sysdate - lv as date_entered
      ,round(dbms_random.value(1,24)) hours
      , '-*' || lv || '.' || task_id || '*-' as user_comments
    from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
    ),
    -- modify data
    modified_data as (
      select task_id, hours, date_entered
        ,case
          when row_number() over (partition by task_id order by date_entered desc) < 5
            then user_comments
          else null
         end USER_COMMENTS
        from t)
    select task_id, sum(hours) total_hours,
      listagg( user_comments  ) within group (order by date_entered desc)
      || case when count(*) >= 5 then '! MORE COMMENTS !' else null end
        as user_comments
    from modified_data
    group by task_id;
    
  • By using the search field of the interactive report

    Hello

    I want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.

    How can I do this?

    Concerning

    Eve wrote:
    Hello

    I want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.

    How can I do this?

    Concerning

    Create a dynamic action as follows:

    Event: Before updating
    Selection type: Region
    Region:

    Real Action:

    Action: Run the JavaScript Code
    Code: $s ('PX_YOUR_ITEM_NAME', $v ('apexir_SEARCH'));

    Click on create

    When it is created, change the dynamic action and define the scope of the event on the dynamics

  • "of data type not supported" in the interactive report

    Hello

    I'm trying to download a file from a link to an itneractive report.

    In the section "attributes of report" interactive column, I defined in the section "links" in a column of the 'target', 'URL', and the URL like this:
    DOWNLOAD:CONVENTIONS:#FILE_BLOB#:#ID#::#MIME_TYPE#:#FICHIERS#:#LAST_UPDATE#::attachment:Conv
    When I run the interactive report, the link view this:
    Download: CONVENTIONS: [type]:188:C22.pdf:attachment:Conv of data not supported

    The table "CONVENTIONS" is defined as follows:
    ......
    ACTIVATE THE 'ID' NUMBER NOT NULL,
    VARCHAR2 (2048 BYTE) "FILES."
    'FILE_BLOB' BLOB,
    "LAST_UPDATE" DATE,
    'MIME_TYPE' VARCHAR2 (255 BYTE)

    Where is my mistake?

    Thanks for your help!

    Christian

    Hello Christina,

    Sorry Wizard, you need to use is the "form > form on Table with Report", because the normal create assistant interactive report allows you to enter a query.
    Once you have completed the wizard, take a look at the generated SQL statement (must use the dbms_lob.getlength) and the value in "number Format / Date" for this column.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

Maybe you are looking for

  • Full screen, I have a few unnecessary pixels from (~ 4) at the top of the screen.

    During the last installation of windows updates, I closed Firefox and reopened. He had this annoying line of pixels in the upper part of the screen. They do not meet the click or right click and interfere with my muscle memory (I'm used to raise the

  • Its Camileo P10

    Hello world: It's my problem, I have the Toshiba Camileo P10 digital camera, and when I save the loud music (I have a bunch) and I have make a zoom in and zoom out the sound has a problem, it becomes like a robot for 1-2 seconds and returned to norma

  • personalized step description

    When you create a custom step type, what do I enter in the box "Expression of Description step" to display the 'operation' and "track (s) to connect/disconnect" the programmer went into properties of switching tab of each step? This custom is only sw

  • Lexmark 2600 - CD lost and needs a driver

    I HAVE a LEXMARK 2600 AND I MISS PLACE THE CD THAT the ACCOMPAGNENT. WHAT SHOULD I DO TO PUT MY PRINTER WITH MY LAPTOP SO I CAN USE IT WHENEVER I NEED USEDIT.

  • 8530w Base system device drivers

    I installed all the drivers for this laptop Windows 7 driver download page, but there are two devices that are still missing drivers. A search does not turn anything useful. These are the hardware ID. PCI VEN_1180 & DEV_0843 & SUBSYS_30E7103C & REV_1