How to highlight a row in IR based on User Name

Hi,
What is the best way to highlight a row in a IR, based on User Name. ie APP_USER.
Suppose if a APP_USER log in to the application, the row in the IR corresponding to the APP_USER should alone be highlighted.
(Edit button is not visible in the IR)

Hi,
APP_USER value is uppercase. Your name column values are lowercase.
Example code that I did post string comparison is case sensitive.
I did change your example dynamic action JavaScript to convert cell value to upper case
this.affectedElements.find('table.apexir_WORKSHEET_DATA td[headers="NAME"]').each(function(i){
    var lThis=$(this);
    if(lThis.text().toUpperCase()=="&APP_USER."){
        lThis.parent().children().css({"background-color":"#55A955"});
});Now it should work
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Similar Messages

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • HT1386 How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    Yes, I do have multiple devices and it appeared to me that every time I tried to sync or log onto iTunes, the password was incorrect.  Consequently, I was and am constantly changing it.  Wouldn't it be nice if Apple would simply say that you only need one Apple ID and one password regardless of the number of Apple devices you intend to sync via iTunes. 
    Barring the above, how about a way to merge all of the Apple IDs and passwords into one.

  • I bought a Used iPad. How I can sign in in Apple. always the user name of the former owner appears

    I bought a Used iPad. How I can sign in in Apple. always the user name of the former owner appears

    Go to Settings>Store>Apple ID - tap the ID that is showing and sign out. Sign in with your own ID.
    Why the previous owner did not remove his information is a mystery.

  • HT1529 I have multiple users on my Mac and I was wondering how you tell the system to retain all the user names so they don't have to enter their email addresses every time ???

    I have multiple users on my Mac and I was wondering how you tell the system to retain all the user names so they don't have to enter their email addresses every time ???

    Email addresses into what?
    Each user should have their own account and password to log in.  Each is independent of the other.  So for Mail each has their own Mail account if they set one up in Mail. 
    That's the way it should be set up.  Are you using a single account and allowing multiple users to use that one single account?  If so then in Mail at least you could set up individual mail accounts.  But everything else in the system is shared.

  • How to highlight the row from the JTable then remove

    hi !!
    i'm using an abstract model in making a table....
    and having a button up and down and delete also!!
    how can i highlight the row when i click down and up!!!
    and when selected or highlighted i can press the button delete ...
    then the data is removed!!!
    pls... i need it!!
    tnx...

    Table row selection should take care of it. By default table rows can be selected.
    The getSelectionModel() method on the JTable gives you access to the row selection model. You can set that either to allow one at a time or multiple selection, and when your delete button is pressed, you access that selection model to decide which rows to delete.
    Add a ListSelectionListener so you can enable or disable your delete button as rows are selected or deselected. JTable will take care of the highlighting.

  • How to highlight selected  row in a region ? ? ?

    Hi There!
    I have two regions Region1 and Region2. Region2 data is populated when I select a row in Region1.
    Now I have Region1 and Region2 data on the same page, but I cant exactly tell which row in Region1 corresponds the data in Region2.
    I was thinking of highlighting the row which was selected in Region1. Went through couple of solutions, but wasnt able to implement it.
    So was wondering if any one of you know a easy to understand and implement a solution for this problem.
    Any help or suggestions is greatly Appreciated.
    Thank you
    Krishna

    Hi krishna,
    You can try this
    http://roelhartman.blogspot.com/2009/06/highlight-row-in-interactive-report.html
    and examples
    http://apex.oracle.com/pls/otn/f?p=ROEL:CURROW:763487747488998
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    or try solutions from this thread
    Highlighting currently selected row in a Report-Form page
    hope this will help you
    regards,
    Chetan
    Edited by: Chetan on 24 May, 2010 12:44 PM
    Edited by: Chetan on 24 May, 2010 12:45 PM

  • How to highlight a row in tree table - jdev 11.1.2

    Hello:
    Given a key, I want to highlight (select/set currency) the corresponding row in a tree table. I thought the following code would highlight the row in the tree table that corresponds to the key, but nothing is highlighted in the tree table. ie---> treeTable.setSelectedRowKeys(selectedRowKeys); What am I doing wrong? Thanks much.
    public String cb1_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Next");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    DCBindingContainer bc = (DCBindingContainer) getBindings();
    DCIteratorBinding iter = (DCIteratorBinding) bc.findIteratorBinding("DDF1Iterator");
    RowKeySet selectedRowKeys = new RowKeySetImpl();
    ArrayList list = new ArrayList();
    Row r = iter.getCurrentRow();
    Key k = r.getKey();
    list.add(k);
    selectedRowKeys.add(list);
    treeTable.setSelectedRowKeys(selectedRowKeys);
    AdfFacesContext adfc = AdfFacesContext.getCurrentInstance();
    adfc.addPartialTarget(treeTable);
    }

    Hello:
    Do you mean setting the selectedRowKeys in the setter method of the treeTable in the Request Scoped Managed Bean?
    If that is what you mean, I tried that and there was no change in behavior. (Still does not highlight the correct row in the tree table upon execution of the next method for the bindings) Does anyone have any sample code they can provide that works?
    Thanks for the help.

  • How To Highlight A Row

    Hi.
    I'm using Apex 4.2.0 against Oracle 11gR2 and using mod_plsql. I'm searching for a good way to highlight a row (both the text and the background) in a report (both Classical and Interactive) when clicking an edit icon in the row and to preserve the highlighting as a way to give users context as they look at other regions, say, a form on the same page.
    I've seen solutions for this: everything from placing calls to a Javascript function within a custom report template to using css styles. Unfortunately, thus far, these all fall short in that they "work" for only certain Apex themes or when using certain browsers. If users look at my app in IE 9, they see the row highlighted. But in Firefox 14, it is not. Or if a developer changes the theme, the highlighting may or may not work.
    Does anyone know of a method that just plain works for any Apex theme and for any modern browser (IE 9+, Firefox 15+, Chrome, etc.). I sure would appreciate pointers to working code.
    Thank you.
    Elie

    My question was answered by a talented person named Neelesh Shah on the Apex LinkedIn Forum page. Here is the link to our exchanges:
    http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=198216434&gid=82082&commentID=111109223&trk=view_disc&ut=1K9ux3Q2VTcBA1
    Thanks very much, Neelesh.
    Elie

  • How to highlight a row in a standard report?

    Friends,
    Hope you can help.
    I need to highlight a row in standard report dependent on some criteria.
    Having searched the forum I have been trying to implement the example given here.
    This is what I have done:
    1) Create a new report using the following query
    select decode(deptno, 10, 'class1', 20, 'class2', 30, 'class3') trclass , ename, job, sal, comm from emp
    2) Created a new Report Row Template from scratch and added the details given in the example above.
    3) Placed the CSS Style sheet code in the stylesheet box at the following location:
    Shared Components>Cascading Style Sheets>Edit Cascading Style Sheet
    3) Ran the page
    4) Employee report is displayed but nothing is highlighted.
    What have I done wrong?
    Thanks in advance for any help given (which of course will be marked helpful\correct!)
    Ian

    >
    >
    3) Placed the CSS Style sheet code in the stylesheet box at the following location:
    Shared Components>Cascading Style Sheets>Edit Cascading Style Sheet
    >
    What have I done wrong?The CSS needed to go in the page HTML Header.

  • SQL Server 2012 Always ON routing to particular server based on User Name

    I have configured SQL Server 2012 with AlwaysON availability groups. I could route my connections to Secondary node when I put the applicationintent = readonly on the connection string. However I would like to route all of my connections from particular
    user name to my read only node. How can I accomplish this without changing connection string (Reason is I would like to be able to route connections for read only query to some older application client that doesn't support applicationintent parameter).

    Hello,
    There is nothing built in that will allow you to dynamically re-route connections based on usernames. This may be achieved outside of SQL Server through some sort of network appliance, but I can't say for sure.
    Would it be possible to upgrade the SQL Client (to 2012+) for the old application and then change the connection string?
    Sean Gallardy | Blog |
    Twitter

  • P.O Release based on user name

    Hi,
    Detail Issue :
    As we are bascially a constuction company and we have many sites all over india. For each site we have given separate user name & password. And now if a P.O is created in a user name (ex: ABC) from one site it can be released by another site user name (Ex: XYZ). But our company has said that if a P.O is raised by Site with their username (EX: ABC) only that site with their login (Ex: ABC) should release the P.O. And if another site with their login try to release the P.O raised by different site they should not have the authorization.
    As different sites are different projects for us so the Confidential info about one project should not be leaked to another project.
    So if there is any user exit for the above issue pls reply.
    Thanks
    Regards
    Dinesh

    Dear,
    Only one user exists or created in each site???
    Basing on your query, its understood that one user only exists for one site. Basically one user (Employee in general) mean on individual entity. Many employees means many users.
    Now come to Releasing PR - Superior authority (Management / Supervisor level) has to release PR using their login user and its recorded in PR accordingly. Same user creating PR and releasing PR (even you maintain authorizatiosn for ME52N) not suggistible.
    Secondly if come straight to  P.O is raised by Site with their username (EX: ABC) only that site with their login (Ex: ABC) should release the P.O not bye XYZ, restrict XYZ for view and change PR of ABC created with BASIS authoriations.
    Regards,
    Syed Hussain.

  • How do I change the setting that remembers which user names are typed within the user name tabs of given websites?

    When I am typing in my user name for a website, a bunch of previously typed user names pop up. I Do not want those other names to pop up, and/or I just want my own user name to appear when I begin to type it.

    When the unwanted name pops up and is highlighted hit the delete key on your keyboard and it will be removed and not pop up again.
    For more details see [[Form autocomplete#w_deleting-individual-form-entries]] Note you can scroll up and down that page
    You may also be interested in looking at [[Location bar autocomplete]]

  • Trying to download updates on iPad but the incorrect user name keeps coming up. How do I change it without changing my correct user name that works on all other devices?

    When trying to download updates on iPad, the user name it is accessing is not correct. All other devices and actions are working correctly with the correct user name. How do I fix this?

    Thank you.....to be more precise....the id and password assigned to itunes is correct and works..but....when I hit 'update all' and get the small inset screen to sign iin....it is asking for a password to a different email address. I need it to use the icloud address I always use to puchase from itunes. I don\t know where it found this new email address?

Maybe you are looking for

  • Putting dual 1.8 GHz G5 to sleep breaks Mac OS X's  Console.app

    My mother's G5 is having problems with Leopard it seems. I did a fresh install of Mac OS X 10.5.1 (that's what's on the DVD) and everything seemed fine. I'm quite sure it's after the upgrade to 10.5.6 that the problem happens (of course it can be any

  • How to load data from sysbase to oracle using sysbase odbc drivers??

    Hi , I am trying to create an interface from sysbase to oracle, using LKM sql to orcle and IKM SQL control append, IKM SQL incremental append,CKM oracle . when we are running the interface we are getting below error com.sunopsis.sql.SnpsMissingParame

  • App Buying Issue

    I have bought a MacBook Pro second hand and have used my ID to try and buy IPhoto. It says it has been assigned to another ID and I will need to purchase it. Thats Fine but I have tried Logging out and back in and it wont let me just buy it. anyone k

  • Impact of changing XI 3.0 System Timezone

    I am currently analysing the impact of a change of an XI server's timezone from local time (Melbourne Australia GMT10 and 11 for Daylight saving time) to UTC (or GMT0). The XI system is integrating SAP and non-SAP systems running around the globe wit

  • [WRT400N] Several security log entries - every minute

    I have several entries in the security log that I have no idea where they are coming from. They are all blank like this: Incorrect User login : Username is , Password is From 192.168.1.101=> Wed Mar 17 17:42:48 2010 Incorrect User login : Username is