Carl / Vikas - a question on JS highlight_row() function in ApEx

Hi,
Based on the function from APEX provided by Vikas here for highlighting rows - see:
More tha one report with row selector in the same page,
- all works fine but with the way I would like to use it, I have found a slight problem.
Basically have a tabular report with checkboxes where the user can click a checkbox on or off but I also have a 'Check All' checkbox that I have incorporated with this highlight row solution and all works fine.
Now, if I first click on a row in the tabular report which highlights the one row and then I decide I want to 'Check All' checkboxes which checks all the records and highlights them as well and then decide to uncheck the 'Check All' checkbox, all checkboxes are set to unchecked but the indivudual row I clicked on first still remains with the hightlighted colour - the rest are reset.
How can I return it back to the original colour prior to highlight_row() function firing?
Thanks.
Tony.

The out of the box row selector on a out of the box tabular form does this fine
http://htmldb.oracle.com/pls/otn/f?p=24317:219
Click the checkbox on individual rows, that row gets highlighted
Click the Check all checkbox, all the rows get highlighted
Uncheck the Check all checkbox, all rows get unhighlighted, no residual effects.
So, are you working with a manually built tabular form? Give us more details or try to post an example on apex.oracle.com

Similar Messages

  • Some question about the renegotiation function in SRM Contract (GOA)

    Hi All Expert,
    We are on SRM 5/4.6,  there is a question about the renegotiation function in SRM GOA.
    Can we renegotiate the price for some parts in the GOA items with this function ( e.g. Only renegotiate one item in the contract) ?
    Will the item price updated automatically after the renegotiation?
    Many thanks in advance!!!
        Wendrin

    Hi Sanjeev,
    Many thanks for your help.
    One more question, if I add a new item when we renegotiation, will it be transfered to contract and create a new item after that?
    Thanks and best regards
    Wendrin

  • Questions about user-defined functions

    Hello all,
    I've got some questions about user-defined function in a message mapping:
    1) How can I get the current date/time in format yyyy-mm-dd hh:mm:ss ? What is the java code for this?
    2) I want to use the StreamTransformation constant TIME_SENT, only this is not in the right time-zone.
    It is GMT and it should be CET (1 hour difference). How can I convert this in Java?
    Can somebody help me with this?
    Thanks in advance.
    Kind regards,
    Marco van Iersel

    Hi Marco,
    If the date format is fixed as you have mentioned,please use this:
                                    String test = "2009-03-27 23:15:30";
              String test1 = test.substring(11,13);
              if(!test1.equals("23"))
              int a = Integer.parseInt(test1);
              int b = a+1;
              System.out.println("b"+b);
              String c = Integer.toString(b);
                                    test = test.substring(0,10)+" " + c + test.substring(13,19);
                                    return test;
              if(test1.equals("23"))
              test = test.substring(0,10)+ " 00" + test.substring(13,19);
              return test;
                                    else return "";
    Kindly let me know if this works.
    Thanks.
    Regards.
    Shweta

  • Question about Custom Escalation Function

    I want to use a Custom Escalation Function described on this document:
    http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH
    I want to execute a custom function on task EXPIRATION.
    Main Question: The "Custom Escalation Function" is just for Escalation or i can use too for EXPIRATION ?
    Thanks.
    Victor Jabur

    Okay Experts. The problem is solved. There was no problem with the custom key figure function. The problem was with the sales order data. The sales order details for the material in question were under the "make to order" segment and the other transaction data info was in the "make to stock" segment.
    Once i found this out , i tried loading someother material and it worked perfectly.
    Thanks
    Aparna

  • Unable to edit some functions in APEX Sql Workshop

    Hi
    Users are able to edit some procedures/functions in APEX SQL Work shop. ( Object Browser - functions - EDIT)
    When we press edit we get cursor in the code area and can edit some procedures, But for some procedures when we click edit we don't get cursor in the code area and we are not able to edit the functions/procedures.
    I am using fairfox browser.This is happening with only some. Is there any security.grants issue???
    Thanks
    Sree

    Hi
    This is happening with some procedures, For others this works fine.In IE I get red block in code area.
    EDIT is working for some procedures so I think may not be the browser issue.
    Thanks
    Sree

  • Email function in apex

    Hi I am trying to use email notification built in function of apex(4.1.1) to so that it take the email address from the form entered by user and then send a 4 digit random number as and authentication to login /validate the email entered.
    i tried sending many emails since morning but none of them received as if now..
    any clue ?

    new new wrote:
    not working ,Why did you mark it as correct answer if you cannot get it to work??
    And the fact is that you cannot run the apex_mail API directly outside the APEX session, you need to set the context before calling it.
    APEX documentation
    begin
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'PROJECTS');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);Finally did you ever know that there a thing called APEX documentation, if yes please search the documentation and the forum first

  • Re:  Integrate jQuery Grid / inGrid /Flexigrid functionality within APEX

    Hi All,
    Can anyone let me know to integrate jQuery Grid / inGrid /Flexigrid functionality within APEX?
    I have had little searched on jQuery Grid on Google but most of examples are for PHP & ASP.Net.
    Anyone help would be great to me.
    Thanks in advance.
    Regards!!
    Dip, Canada
    Edited by: user8609115 on 12-Feb-2010 7:56 AM

    Hi All,
    Can anyone let me know to integrate jQuery Grid / inGrid /Flexigrid functionality within APEX?
    I have had little searched on jQuery Grid on Google but most of examples are for PHP & ASP.Net.
    Anyone help would be great to me.
    Thanks in advance.
    Regards!!
    Dip, Canada
    Edited by: user8609115 on 12-Feb-2010 7:56 AM

  • Question regarding JSTL and function calls

    Hello
    I'm quite new to JSTL and I'm having a problem accessing a function when I want to pass argument to that function.
    Im using MVC where my M (model.jsp) can be accest from my V (view.jsp) by doing ${model.(parameter/some function) }
    in my M I have a couple of getMethods() (example: getThisInfo() ) and som control methods like "isSomethingValid(arg1)"
    my question is lets say I want to access my "isSomethingValid(arg1)" and arg1 should be the value of "getThisInfo()" I thought I could do like
    ${model.somethingValid($model.thisInfo)} but it isnt working I get:
    "Unable to parse EL function ${model.somethingValid(model.thisInfo)}"
    I know that the syntax above is a mix of scriptlet and JSTL but I dont know how to or if its even possible to achieve this?
    Thanks for helping me!
    Best Regards/DS

    By default, EL can only access getters and setters on objects.
    It can not execute general methods on an object.
    You can define function libraries that call static methods
    You have to write the method as static, and then declare it in a tld.
    public boolean checkValid(Model m, Info i){ ...}
    and then you could invoke it something like
    <%@ taglib uri="myfunctionstaglib" prefix="myfunctions" %>
    ${myfunctions:checkValid(model, model.thisInfo)}

  • Question on Contract - Partner function

    Hi all
    For eg.
    I created a CONTRACT in ECC and its vendor as VN 11111 ( OA ORDERING ADDRES  22222.)
    Later Vendor master team changes in the vendor OA as 33333 from OA  22222 for VN 11111.
    Can I expect the same changes in ME33K , HEADER , partner -> porg -> OA as 33333 or OA as 22222?
    can i see the vendor master data changes in ECC contract.
    that means when i create a PO w.r.t my contract , This PO should pick as OA 33333 but it picks ordering as old OA 22222?
    is it right fuctionality?
    appreciate your quick help.
    BR
    Muthu

    Thanks Arun
    Old one needs to be manually corrected. And transactional data takes precedence over the master data.
    Old one needs to be manually corrected - where plese be specific. in the bendor master or contract.
    my question is if i change in vendor master OA , i am expecting contract also must pic the same but it is not happening.
    can you refhrase the answer.
    should i change the partner function via contract -hetail-partner details?
    what does mean only one needs to be manually corrected IN VENDOR MASTER OR CONTRACT?
    Muhtu

  • Question on adding one function to a submenu

    hi,dear all.
    I added one function to a menu.
    my question is I can find it from the forms navigator page but why I can not find it from the initial navigation web page ??
    thanks in advance.

    What is the application release?
    I added one function to a menu.
    my question is I can find it from the forms navigator page but why I can not find it from the initial navigation web page ??Please mention the steps and the navigation path you follow to reproduce the issue.
    Thanks,
    Hussein

  • Question about calling a function.

    Im trying to call a function when a button is clicked, im using actionlistner() on the button, which looks as so :-
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            jButton1ActionPerformed.keyPad();
        }then trying to run this fuction when the button is clicked:-
    private void keyPad(java.awt.event.ActionEvent keyPad){
            String oldNumber;                           //set oldNumber to String
            String newNumber;                           //set newNumber as a String
            jButtonCall.setEnabled(true);
            jLabelInstruction.setText("Press 'Call' When Ready...");
            oldNumber = jTextFieldScreenDisplay.getText();      //get txt, if any, assign to oldNumber
            newNumber = oldNumber + "1";                        //set newNumber as oldNumber adding String to end
            jTextFieldScreenDisplay.setText(newNumber);         //Display newNumber
        }Im new, please go easy, everything is done in the main class, but would like to take this one stage further and create a seperate class outside the main, but i wan to get this working from within the main first.
    Cheers Guy's
    Doo

    So what is your question?
    Besides:
    - the things are called "methods"Hello There!
    Sorry, i'm trying to call a 'method'. I have buttons numbered 0-9 which enter into a text field once clicked using ActionEvent. At the moment each button has its own block of code which is a bad habit as its the same code over with one differance, the number value.
    Am i right in thinking i should create one method? Then calling this method on each button.
    The problem i have is i am unsure of the code to call the method within each buttons ActionEvent ie:-
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
             //call the method keyPad when button is clicked
    private void keyPad(java.awt.event.ActionEvent keyPad){
              //run this
    - if you define a method to accept a parameter, you
    actually have to provide a parameter upon calling
    that method.I don't understand???
    Thanks
    Doo

  • Question about PL/SQL Function in report

    Hi all. I have a (basic) question about using a PL/SQL function in a report. In my report page I have an item (PL/SQL function) that has the following syntax:
    return username from t1
    where username like 'Le%'
    I reference this item in an email process. Ideally this function would return all usernames that begin with 'Le' in the drafted email; however, its not looping so I'm only getting a return on the first name.
    I have a few books on PL/SQL but I'm not exactly sure where to start - I imagine there is a loop process I need to integrate into the function but, like I said, I'm not sure.
    I would have posted this to the PL/SQL forum but also wanted some feedback on whether or not using this method is the best way forward. Essentially I have a table with usernames and just want to send email messages based on some simple logic.
    Thanks!
    Len

    Hi Sergio,
    First, it's an honor to have you reply to my post. Thanks!
    To be more specific,
    T1 is a table containing the results from a user security scan. Username is a column in this table containing user names. What I have done is create a page in HTML DB with the following elements:
    1. An 'Item' containing the PL/SQL function that is hidden. The purpose of this Item is to generate information from T1 that meets the simple logic parameters - in this case, the user names that begin with "Le". I have called this Item P145_TT
    2. A 'Process' containing references to HTMLDB_MAIL. The 'Process' looks similar to this:
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => 'Anon Email Account',
    P_BODY => 'Note: This message was automatically generated. Do not attempt to reply to this email.
    These are the users that begin with Le: '||:P145_TT||' ',
    P_SUBJ => 'Summary');
    3. A 'Button' to submit the process and (hopefully) send the message containing all users that adhere to the logic in the function.
    4. If I use 'return username from t1...' I will get a username generated, but like I said previously, it only gives me the first and does not loop.

  • Strange Question  on Time Series Function

    Hi All,
    I find a strange question when i use time series function. The result of report like this:
    -----year area revenue year_ago_revenue
    1、 2009 a 100
    2、 2009 b 100
    3、 2010 a 200
    4、 2010 b 200 100
    the last column's value of row 3 is null, but it must be 100, I execute the physical sql in log file in database, the result is 100, but show null in report, why? I really can't understand. Any one know why? Thanks.

    For the report which is working correct, what level of information you are seeing? In that report whether the Year Ago is working correctly.
    In time hierarchy, how did you set the chronological keys?
    Thanks,
    Vino
    Edited by: Vinodh NK on Jul 23, 2010 2:56 AM

  • I have a question about the Siri function.

    Here in Belgium, we speak Dutch and also French and English. But I think when you use the Siri function it is always easier to use it with your own language ( Dutch). 28th October, the iphone4S will be launched here in Belgium, but only with a Englisch version of the Siri function. So my question is that you have any idea when te Dutch version will be available in Belgium, or when i buy an iphone 4S with English version that I can update it to a Dutch version when it will be launched..
    Thank you for helping
    Dylan

    Nobody here can tell you anything more about Apple's plans than what they have already publicly stated, which is that more languages were promised for later (including Japanese, Chinese, Korean, Italian, and Spanish in 2012).

  • Question for GR IR functionality - audit requirement (three-way) match

    Hello,
    I have a question in regards to three way match functionality in SAP (matching of PO, GR and IR).  Auditors asked us if  GR-IV indicator is checked for every PO, and for our company this indicator cannot be checked for every PO due to drop shipments, LC terms, etc.  However, AP is ensuring that GR document is posted prior to posting IR for all POs.  In this case, even though GR-IV indicator is not checked at PO item level, does SAP enforce automatic three way matching based on the tolerance key set (DQ and PP), or does SAP not perform three way match since the GR-IV indicator was not set in the first place? 
    Please share some insight.  Thank you.  

    Hi,
    As you know three ways match related to PO-GR-IV but in your case you want pay drop shipments and LC terms to vendor where you need two way match which is with PO-IV. The disadvantage in two way match, you never know whether the whole PO amount is delivered or not in your system (in real scenario). For two way match, select those vendors in t.code:XK02 and do not select check box of “GR-Based Inv. Verif.” in Control data segment in Purchasing data view & then save.
    Now create a new PO and go for directly invoice verification WRT new PO.
    For more refer threeway match details
    SAP Threeway Match Functionality & configuration
    Regards,
    Biju K

Maybe you are looking for

  • Ringtone m4r file not appearing in Tones/Ringtones

    Hi I have a iPhone 4s and have created a 30sec ringtone with the Ringtone app. Having followed the instructions, I have managed to transfer the file to my PC. In Windows Explorer, I can see that the file type is .m4r and the item type is Ringtone. Ho

  • What applications can open a Domain.sites2.zip file?

    I am hoping someone out there in the Mac community can help me:  I'm taking over a website that was created with iWeb and someone has given me what seems to be a totally unusable "zipped" version of the site.  I can't make heads or tails out of it. 

  • Code formatting conventions

    This question isn't really specific to java, but where did the convention to format code in following form come from? if (something) {    statement;    statement; }surely laying out code in the following format is far more readable: if (something)   

  • Delay Synth. Is it delay?

    Hey, guys, does any of you know how to make an effect (for a synth) that makes repeat again and again the loop (or last note) that is playing (with a volume fade, although I can know how to make that effect) in LPX? Maybe with some delay? I've been l

  • Rac is down

    Hi alll. I have a huge problem with oracle RAC. I can't startup crs: [oracle@host ~]$ sudo crsctl start crs Attempting to start CRS stack The CRS stack will be started shortly [oracle@host ~]$ sudo crsctl check crs Failure 1 contacting CSS daemon Can