Exceptions  - Highlight the full row

Friends,
Following are the 2 questions I have..
I have created an exception based on Formula and it works good.  But only the Key figure cell is Highlighting.. Is there any way to highlight the entire row ??
and also I am not sure how to make the following happen..
above exception is only for on alert.  based on this alert, I user want to display a Message in separate characteristic object.. is that possible ???
Please comment if you think there is any way..
Regards
Mavi

Bhanu,
Yeah, I looked at that link and also searched ..but no help.
and also I cannot use the WEB Template because of lot of VB code embedded in this workbook..
at least do you think the 2nd question could be answered ?
For the Alert value user wants to see the description in another column ??
Regards
Mavi

Similar Messages

  • Trying to get a JEditorPane to highlight the full width of a displayed line

    I have displayed the wep page in JEditorPane . Now I'm trying to get a JEditorPane to highlight the full width of a displayed line. All the examples I've tried only highlight the textual content. For example if I have content such as this:
    + Here is some text +
    + some more text +
    within a JEditorPane represented by the box above, then highlighting the first row highlights only the 'Here is some text' (represented between [ and ] below).
    [ Here is some text ]
    [some more text ]
    I would like it to highlight the full width of the JEditorPane like the following:( ie Inspecting the Html element in firebug ....)
    l Here is some text l
    l some more text l
    l_________________________l
    Is there a way to do this?
    Edited by: arunnprakash on Mar 27, 2009 7:59 AM

    Take a look here:
    [http://tips4java.wordpress.com/2008/10/29/line-painter/]
    [http://www.java-forums.org/awt-swing/10862-how-select-highlight-entire-row-jtextpane.html]
    db

  • Please give me idea how I highlight the gird row which have

    Sir
    I have gird with 5 column
    Vno
    Code
    Dept
    Date
    Amount
    Sir my need is which record have above 5000 amount that color read and other color blue
    It means above 5000 highlight in grid
    Please give me idea how I highlight the gird row which have above 5000 maount
    Thank
    aamir

    PROCEDURE pr_Set_VA (p_VA IN VARCHAR2) IS
    v_Feld VARCHAR2 (30);
    v_Item VARCHAR2 (61);
    v_Block VARCHAR2 (30);
    BEGIN
    v_Block := :SYSTEM.CURSOR_BLOCK;
    v_Feld := Get_Block_Property (v_Block, FIRST_ITEM);
    WHILE (v_Feld IS NOT NULL) LOOP
    v_Item := v_Block || '.' || v_Feld;
    Set_Item_Instance_Property (v_Item, CURRENT_RECORD, VISUAL_ATTRIBUTE, p_VA);
    v_Feld := Get_Item_Property (v_Item, NEXTITEM);
    END LOOP;
    END;

  • How to highlight the whole row of a particular line item of sale

    How to highlight the whole row of a particular line item of sales order depending on condition?
    Please help its urgent..
    Looking forward your reply.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not flag posts as "urgent".
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 9, 2011 9:30 AM

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How to highlight the first row of a table

    When entering the form, how do I get the first row of the table to be highlighted when it has not been selected yet? There is already data in the table. Thanks.
    Allyson

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How to Highlight the selected row of table

    Hi All,
    I have a result table. I want the selected row to be highlighted in orange color.
    The properties of the table are as follows :
    rowSelectable : true
    selectionChangeBehaviour : auto
    selectionMode : auto
    Please let me know what am I missing.
    Nikhil

    Hi Nikhil,
                 We too encountered this problem in EP 6.0. The code is correct. Actually
    int index=wdContext.nodeSales_Orders1().getLeadSelection();
    is enough.
    But this is not the problem. It is the problem with  either browser or Portal Runtime.
    Is your version EP 6.0? Is this a problem for all tables or only this table? Check with other browsers like Mozilla..(or different IE versions).
    regards,
    Siva

  • Highlight the current row in the called form

    hi,
    how can i highlight the current selected row in the called form.. do i have to use current_record or current rowid as parameter and pass to a called form ??
    thanks

    i passed the current record as parameter to called form. so i have the current record number, say 2.. so can i not do the GO_RECORD('2'); after going to that particular block of the called form??

  • For exception on result ; Highlight the rows

    Hi guys
    could be a simple question with a "not so simple" answer - Is there a way in Bex to read the result row and compare with a condition say - for result < 100 ; Highlight the individual rows that add up to give the result row ?
    if it can be done , Please tell me how ?
    appreciate your inputs,
    thanks
    Shweta

    Hello,
    If a query, on BEx Analyzer, I think this is not possible.
    However, if you save the query as workbook, you can add insert any macro code on SAPBEXONREFRESH
    Then, when you refresh your workbook, the macro will be executed and you can create a code to compare the rows values.
    You can access the SAPBEXONREFRESH procedure pressing ALT + F11.
    Thanks
    Edward John

  • How to make the picker highlight some particular row when the Picker View appears on the screen ?

    Hi,
          I am using a UIPickerView to implement a picker with a list of names. Now when the Picker View loads and when the picker is displayed on the screen, the picker normally highlights the starting row. But I want it to highlight some other row apart from the one which loads by default. How do I do this. Lets say for example I have a picker populated with the names Monday, Tuesday, Wednesday & Thursday. Now when the picker appears on the screen it would have normally highlighted Monday since its the first element in the picker. But I want it to highlight Thursday. How do I customize my picker to do just this.
    Thanks
    bnas.

    For each characteristics in the query designer, right-click and go to properties....
    then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
    This will suppress the result rows.
    Good luck,
    AT

  • JTable: Allowing the highlight of a row with a right click

    Hi, this is my first post here. I'm using a JTable to display data from a JDBC ResultSet and I added a popup menu to the JTable (activated with the PopupTrigger) to display options related to the selected row like DELETE, UPDATE, etc.
    But the problem is that if you right click (the PopupTrigger that MS Windows has) anywhere on the table the Pop Up shows even if you aren't right clicking over the selected row.
    What I want to do is to:
    * When I right click over a row on the JTable I want to highlight that row and then show the PopUp menu so it correctle performs the operation on the row the Menu is placed over.
    * Or another option is not to show the PopUp at all in case the cursor is not over the selected row.
    Anyway, the bottom line is that I need a way to know in which row of the JTable is the mouse over?
    Thanks in advance.

    Thanks my man! That was my missing piece!
    I also used the JTable.addRowSelectionInterval(clickedRow, clickedRow) to highlight the clicked row.
    10 Duke Dollars coming your way.
    class IFramePersons_jTablePerson_mouseAdapter
            extends java.awt.event.MouseAdapter
        IFramePersons adaptee;
        IFramePersons_jTablePerson_mouseAdapter(IFramePersons adaptee)
            this.adaptee = adaptee;
        public void mouseClicked(MouseEvent e)
            if(e.getClickCount() == 2)
                adaptee.jTablePerson_mouseClicked(e);
        public void mousePressed(MouseEvent e)
            maybeShowPopup(e);
        public void mouseReleased(MouseEvent e)
            maybeShowPopup(e);
        private void maybeShowPopup(MouseEvent e)
            if(e.isPopupTrigger())
                int clickedRow = adaptee.jTablePerson.rowAtPoint(e.getPoint());
                adaptee.jTablePerson.addRowSelectionInterval(clickedRow, clickedRow);
                adaptee.jPopupMenuRow.show(e.getComponent(), e.getX(), e.getY());
    }

  • Not able to get the full screen in Youtube with latest firefox

    Hi All,
      I was using the FF 3.0.10 came with ArchLinux pacman. Recenty I downloaded the latest FF from mozilla website and put that in /opt/firefox. I am able to do all other things in it except watching the full screen flash video from Youtube. The browser stucks when I click on the full screen option. But that is working fine in the old browser ( Gran paradiso ). I am not able to find the root cause of it. An idea ?

    silvik wrote:launch firefox with: LD_PRELOAD=/usr/lib/libGL.so.1 firefox
    Yes that helped, thanks.
    But it only happened with youtube flash movies, others were able to go fullscreen.
    I got the following error messages in the console after the crash (cut off):
    LoadPlugin: failed to initialize shared library /home/andi/.mozilla/plugins/libmks.so [libexpat.so.0: cannot open shared object file: No such file or directory]                                                                           
    *** glibc detected *** firefox: munmap_chunk(): invalid pointer: 0xa8398020 ***                                                                                                                                                             
    ======= Backtrace: =========                                                                                                                                                                                                               
    /lib/libc.so.6[0xb7cbd281]                                                                                                                                                                                                                 
    /lib/libc.so.6[0xb7cbe4b5]                                                                                                                                                                                                                 
    /usr/lib/libGL.so.1[0xaa912205]                                                                                                                                                                                                             
    ======= Memory map: ========                                                                                                                                                                                                               
    08048000-0805a000 r-xp 00000000 08:02 136715     /usr/lib/firefox-3.5/firefox                                                                                                                                                               
    0805a000-0805b000 rwxp 00011000 08:02 136715     /usr/lib/firefox-3.5/firefox                                                                                                                                                               
    0805b000-0805c000 rwxp 00000000 00:00 0                                                                                                                                                                                                     
    a419b000-a4f06000 r-xp 00000000 08:02 176929     /usr/lib/libGLcore.so.185.18.14                                                                                                                                                           
    a4f06000-a50f3000 rwxp 00d6a000 08:02 176929     /usr/lib/libGLcore.so.185.18.14   

  • Highlighting currently selected row in a Report-Form page

    Hi,
    I have a page with Report - Form layout. On the top of the page there is a classical report (not IR). When the user click a row then I display a detail form below it. It would be nice if I could highlight the row the user clicked last time, to indicate to which row the detail data below the report belongs to. Did any body do something similar?
    Regards, Tamas

    It's relatively simple to achieve this&mdash;without JavaScript&mdash;using a named column report template and CSS:
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    We'll assume a page item (or items) already exists for receiving the master row primary key value(s). In the example this is P27_DEPTNO. Give the master report region a static ID for use in CSS selectors. Here this is department.
    If the master primary key value(s) are used as links in the report, then [column link] columns need to be created to replace them in the report attributes.
    Create a named column report template as required by your report query, including an HTML ID attribute for the report row element that contains column references to the primary key value(s). Replace column references in the row template for any primary key link columns with the [column link]s created previously. In the example, [column link] (ref #4#) replaces DEPTNO (ref #1#) as we need to reference the original DEPTNO value in the row ID:
    Row Template
    <tr id="dept-#1#">
      <td class="t17data">#4#</td>
      <td class="t17data">#2#</td>
      <td class="t17data">#3#</td>
    </tr>We then just need to use the selected P27_DEPTNO value via substitution in a page HTML Header to create a descendant selector that will apply a highlight to the cells in the currently selected row (along with some others to make it easier to select the row):
    CSS
    <style type="text/css">
    /* Make the whole table cell a link target */
    #department td {
      padding: 0;
    #department td a:link {
      display: block;
      padding: 2px 8px;
    /* Universal Selector sucks */
      font-size: 9pt;
    /* Highlight the selected row */
    #department tr#dept-&P27_DEPTNO. td {
      background-color: #eee;
    </style>

  • JTree - full row select

    Hi,
    I would like to make the JTree tree items selectable/appearing like in the eclipse "Package Explorer". A tree item should become selected when the user clicks anywhere in it's row. Additionally the background color of the full row should be the selection-background color not only the label background.
    Any ideas how to do this ? I hope there is a solution for this, but I have doubts about it because of how the CellRenderer thing works.
    Thanks in advance,
    Christian

    Hi
    The mouse listener in that solution doesn't properly handle SHIFT/CTRL.
    This should work better:
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Insets;
    import java.awt.Rectangle;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.UIManager;
    import javax.swing.plaf.basic.BasicTreeUI;
    import javax.swing.tree.TreePath;
    public class ExplorerTreeUI extends BasicTreeUI {
        private Color backgroundSelectionColor = null;
        private RowSelectionListener sf = new RowSelectionListener();
        protected void installDefaults() {
            super.installDefaults();
            backgroundSelectionColor = UIManager.getColor("Tree.selectionBackground");
        protected void paintRow(Graphics g, Rectangle clipBounds,
                Insets insets, Rectangle bounds, TreePath path,
                int row, boolean isExpanded,
                boolean hasBeenExpanded, boolean isLeaf) {
            // Don't paint the renderer if editing this row.
            if (editingComponent != null && editingRow == row)
                return;
            if (tree.isRowSelected(row)) {
                int h = tree.getRowHeight();
                g.setColor(backgroundSelectionColor);
                g.fillRect(clipBounds.x, h*row, clipBounds.width, h);
            super.paintRow(g, clipBounds, insets, bounds, path, row, isExpanded,
                    hasBeenExpanded, isLeaf);
        protected void installListeners() {
            super.installListeners();
            tree.addMouseListener(sf);
        protected void uninstallListeners() {
            tree.removeMouseListener(sf);
            super.uninstallListeners();
        private class RowSelectionListener extends MouseAdapter {
                         * Listener for selecting the entire rows.
                         * @author Kirill Grouchnikov
            @Override
            public void mousePressed(MouseEvent e) {
                if (!tree.isEnabled())
                    return;
                TreePath closestPath = tree.getClosestPathForLocation(e.getX(), e.getY());
                if (closestPath == null)
                    return;
                Rectangle bounds = tree.getPathBounds(closestPath);
                // Process events outside the immediate bounds -
                // This properly handles Ctrl and Shift
                // selections on trees.
                if ((e.getY() >= bounds.y)
                        && (e.getY() < (bounds.y + bounds.height))
                        && ((e.getX() < bounds.x) || (e.getX() > (bounds.x + bounds.width)))) {
                    // fix - don't select a node if the click was on the
                    // expand control
                    if (isLocationInExpandControl(closestPath, e.getX(), e.getY())) {
                        return;
                    selectPathForEvent(closestPath, e);
    }

  • How to highlight a single row in the Table components

    Hi,
    I am trying to do the following :
    1) Select a staff member's name from a dropdown list
    2) click on dropdown.name and show all the projects the member is working in a Table1
    3) when clicked on the project in Table1, show all team members of selected project in Table2.
    I would like to highlight the original staff member's name in Table2. Any ideas how I should go about doing it ? I tried the setSelected() method, but this selects all rows.
    TIA

    Winston has a blog on that topic:
    http://blogs.sun.com/roller/page/winston?entry=setting_table_column_style
    Lark

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

Maybe you are looking for

  • When will a Lightning update that works with Thunderbird v31.0 beta be released?

    I was using Thunderbird v 30 beta with Lightning 3.2b1 and it worked great. Thunderbird v31 was issued, and automatically updated. Add-ons are set for "automatic update". Everything in calendar is now grayed-out, and nothing works. I searched the Lig

  • HT204406 itunes match sometimes don't play songs

    hi, i use itunes match with all my music and it works well. but sometimes when i want to play a song i double-click it and nothing happens: i think itunes loads the muscic (the cloud-icon moves:). someone can tell me how to solve this problem? thanks

  • Google account login issues

    I am recieving the error unknown error when trying to add my google account to the touchpad. I can login fine through the browser but am unable to add it to email, chat, etc... Troubleshooting I've done: 1) Waited a couple days and tried again, same

  • The condition for action don't work with user status

    Hello, we have some problem with define conditions for actions of SLA Monitoring: Schedule condition with system status (Example:"&CRM Service Product Item.System Status& = I1002") is implemented. But schedule condition with user status ("&CRM Servic

  • Return apex application schema

    Hi Let's say I have an apex application named "ABC" based in the schema "ABC". I also have a schema "XYZ" that hold procedure used by every other schema. For logging purpose, at some point I want to find which application is calling "XYZ". I would no