Agentry - Disable Double Click Action on Individual Row

Is it possible to disable the double click action on a single row in a list screen?  I wanted to have a rule that would disable a row if it has already been updated.  Let me know if that is possible.

The double click option can not be set by a rule or not, but the action is called, you can put an enable rule on to check the data already.
Stephen

Similar Messages

  • How to capturing Mouse double click action?

    Hi all,
    how can we identify the "mouse double click" action?
    MouseListener has methods for only mousePressed,released,clicked (single).
    Thanks in advance..
    Regards
    Sojan

    Hi,
    Thanks it worked ..
    e.getClickCount() value increases if we keep on clicking on the component, is there anythning wrong by interpreting double click as
    "e.getClickCount() >=2 "?
    Regards
    Sojan

  • Double click actions were capturing for PPOME by other servers,But not in..

    Hi all,
      I am trying to assign cost center for the employee using T.Code PPOME. While recording I am unable to select person to assign cost center,
    i.e. while recoding I had done double click action for selecting a person. But, at the time of processing the recorded code, That double click actions were not capturing. 
    Here my problem is...
    When I am running, My program is unable to catch double
    But, In other server system, double click action was capturing sucessfully.Can any one suggest me regarding this.
      Can any one suggest me how to handel this issue.
    Thanks in advance,
    Surender.B.V.
    Edited by: Surender Batlanki on Feb 8, 2008 7:20 PM
    Edited by: Surender Batlanki on Feb 8, 2008 7:24 PM

    Hi Kiran,
        I got what you told, But are you sure double click action will not handel in SHDB recording for any transaction code ?
        I also tried all possibilities, as you suggested by using menu bar options, mouse right click actions and making changes in recorded program. If I gone through this step I can solve my issue.
        Do u face this kind of issue any time i.e. handling double click actions. Can you suggest me if any.
        Thanks for your reply.
    Regards,
    Surender.B.V.

  • How to  record double click action in ECATT ...?

    Hi,
    I created ecatt for Asset master in that recording there is sub field in which i need to enter data only after double clicking main field ,while recording i double clicked tha main field after upload txt file unless i double click the field it is not moving farward,
    so can u help the same..
    thanking you

    You can record double click action using ecatt or u can do same by pressing f2 key while recordiing

  • How to overwrite double click action in siteadmin grid?

    I would like to create custom page based on siteadmin widget and now I'm facing a problem with changing a double click action as a defoult it open location with .html sufix if it is not a folder. I would like to open dialog.
    Thanks,

    Thanks Sham, here is my sample function if anyone need it too
    var coreOpenPage = CQ.wcm.SiteAdmin.openPage;
    CQ.wcm.SiteAdmin.openPage = function(path, type, newWindow, selection) {
         if (type == 'commerce/components/product') {
             CQ.Ext.Msg.alert(
                 "Debug",
                 "Open product dialog"
          } else {
             coreOpenPage.apply(this, arguments);

  • Double click in alv report rows

    Hi to all!!
    I have an alv report and I want it to go directly to a transaction IW38 when I double click the row, I know that i have to use the reuse_alv_grid_display's IT_EVENT parameter and also the I_CALLBACK_USERCOMMAND but I don't know exactly how.
    Can anybody show me an example or help me?
    THANKS A LOT!!!

    Hi,
    Take a look at the following code ( 2 main perform ):
    *       ITAB_user_command                          *
    FORM itab_user_command  USING ucomm TYPE sy-ucomm
                            s_selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
    *     Call Transaction MM03
          IF s_selfield-fieldname = 'MATNR' .
           READ TABLE t_bom INDEX s_selfield-tabindex.
            SET PARAMETER ID 'MAT' FIELD t_bom-matnr.
            CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
    *&      Form  display_data
    FORM display_data.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
    *           i_background_id             = 'SIWB_WALLPAPER'
                i_background_id             = 'ALV_BACKGROUND'
                i_callback_program          = w_repid
    *           i_callback_html_top_of_page = w_html_top_of_page
    *           i_structure_name            = 'TRDIR'
                i_bypassing_buffer          = 'X'
                i_default                   = 'X'
                i_save                      = w_variant_save "'A'
                is_variant                  = w_variant
                is_layout                   = w_layout
                i_callback_user_command     = 'ITAB_USER_COMMAND'
    *            i_callback_pf_status_set    = 'SET_PF_STATUS'
                it_fieldcat                 = i_fieldcat_alv[]
                it_events                   = i_events[]
                it_event_exit               = i_event_exit[]
    *            it_excluding                = i_excluding
                is_print                    = w_print
    *           i_screen_start_column       = 1
    *           i_screen_start_line         = 1
    *           i_screen_end_column         = 70
    *           i_screen_end_line           = 30
           TABLES
                t_outtab                    = t_bom
           EXCEPTIONS
                program_error               = 1.
    ENDFORM.                    " display_data
    Best regards,
    Erwan

  • How to disable "Double Click on Tab Bar to Open New Tab" feature?

    Since I upgraded to FF3 I've noticed this very annoying feature with tabs. If you double-click the 2-3 pixel wide bar just beneath tabs, it opens a new empty tab and sets the focus to that new tab (Which means I then have to go close that tab before going back to the tab I originally wanted). I happen to do this a lot by mistake (I go to click on a tab, but haven't clicked high enough, and of course, it doesn't change to the tab, so I unconsciously click again, which activates a new tab). I never open new empty tabs (alt-enter + middle click), and I have tabs to load in the background (i.e. to not *steal* the focus), so everything about this feature serves as an annoyance to me. Is there anyway to disable this "feature" (Either by disabling it, or making the width of the bar 0. I don't care either way)?
    == This happened ==
    Every time Firefox opened
    == I upgraded to FF3

    You can hold down the mouse button on a scroll button a bit longer to initiate scrolling multiple tabs.<br />
    Otherwise you need to wait longer between the clicks on the scroll button.<br />
    If you click twice on a tab bar scroll button too fast then you perform a 'page up' or 'page down' and the tabs scroll a tab bar width like you noticed.
    I'm not sure what you mean with new feature because this is the behavior in Firefox 3.6.x as well.

  • Double click on a JTable row.

    I got and run a sample about double click on a JTable and it works fine. This sample defines a TableModel as shown at the end this note.
    On the other hand, I have an application in which I have defined a JTable
    using the DefaultTableModel as follows :
    DefaultTableModel dtm = new DefaultTableModel(data, names);
    JTable table  = new JTable(dtm);  where data and names are String arrays.
    Of course the mouse listener stuffs have been also specified.
    table.addMouseListener(new MouseAdapter(){
         public void mouseClicked(MouseEvent e){
          if (e.getClickCount() == 2){
             System.out.println(" double click" );
         } );Because the difference with the sample was the table model,
    I changed it with the DefaultTableModel class. At this point, the Double click does not work anymore.
    So I gues it should be an option which prevents double click to work.
    I thought of using mousePress() instead of mouseClick(), but it's very dangerous (I tried). . If by error the user clicks twice (instead of only once) the mousePress method is invoked twice for the same entry
    My question is now simple, may I use double click on a JTable with the default table model. If so, what I have to do ?
    Thanks a lot
    Gege
    TableModel dataModel = new AbstractTableModel() {
         public int getColumnCount() { return names.length; }
         public int getRowCount() { return data.length;}
         public Object getValueAt(int row, int col) {return data[row][col];}
         public String getColumnName(int column) {return names[column];}
         public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
         public void setValueAt(Object aValue, int row, int column) {
           data[row][column] = aValue;
         };

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class ClickIt extends MouseAdapter
        public void mousePressed(MouseEvent e)
            JTable table = (JTable)e.getSource();
            Point p = e.getPoint();
            if(e.getClickCount() == 2)
                System.out.println("table.isEditing = " + table.isEditing());
            int row = table.rowAtPoint(p);
            int col = table.columnAtPoint(p);
            String value = (String)table.getValueAt(row,col);
            System.out.println(value);
        private JTable getLeftTable()
            final String[] names = { "column 1", "column 2", "column 3", "column 4" };
            final Object[][] data = getData("left");
            TableModel dataModel = new AbstractTableModel() {
                public int getColumnCount() { return names.length; }
                public int getRowCount() { return data.length;}
                public Object getValueAt(int row, int col) {return data[row][col];}
                public String getColumnName(int column) {return names[column];}
                public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
                public void setValueAt(Object aValue, int row, int column) {
                    data[row][column] = aValue;
            JTable table = new JTable(dataModel);
            return configure(table);
        private JTable getRightTable()
            String[] colNames = { "column 1", "column 2", "column 3", "column 4" };
            JTable table = new JTable(new DefaultTableModel(getData("right"), colNames));
            return configure(table);
        private Object[][] getData(String s)
            int rows = 4, cols = 4;
            Object[][] data = new Object[rows][cols];
            for(int row = 0; row < rows; row++)
                for(int col = 0; col < cols; col++)
                    data[row][col] = s + " " + (row*cols + col + 1);
            return data;
        private JTable configure(JTable table)
            table.setColumnSelectionAllowed(true);
            table.setCellSelectionEnabled(true);
            table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            table.addMouseListener(this);
            return table;
        private JPanel getContent()
            JPanel panel = new JPanel(new GridLayout(1,0,0,5));
            panel.add(new JScrollPane(getLeftTable()));
            panel.add(new JScrollPane(getRightTable()));
            return panel;
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(new ClickIt().getContent());
            f.pack();
            f.setVisible(true);
    }

  • Listen double clicks on JTable's row

    hi,
    I want to know how to catch double clicks did on a specific JTable's row, or any cell on that.
    I know that's possible because JTable is a JComponent..so, I want to know how to catch the event when the user press Enter over a single selected row, too...
    If you may show me and example or specific links, I'll thank you so much..
    lucky..

    b) The Enter key is used to move the row selection to
    the next row so you need to override the default
    mappings of the table.
    This posting shows how you would do the above on a
    JList. The code should be similiar for a JTable.
    http://forum.java.sun.com/thread.jspa?forumID=57&threa
    dID=626866Thanks anyway...I fix that with a tricky and simplest solution.
    I only put a KeyEventListener on the table and catch the keyEvent, and if it's a EnterKey, then check wich row is selected on table.
    table.addkeyListener(new KeyListener(){
                public void keyPressed(KeyEvent e) {
                    if(e.getKeyCode()==KeyEvent.VK_ENTER){
                        int[] selected_rows = table.getSelectedRows();
                        if(selected_rows.length==1){
                            int row = selected_rows[0];
                            DefaultTableModel table_model = (DefaultTableModel)table.getModel();
                            Object element_at_row = directory_model.getValueAt(row, 1); //I wanna Only the element at column 1
                             //do more things...                      
    //....other interface's methods..
    );

  • Double click in a JTable row

    Hi,
    I have the following problem. I would like to have a JTable with single selection (this is ok so far), but I would like it to have the following behaviour.
    If a row is clicked, it becomes selected. If a selected row is clicked again it becomes deselected.
    Does anyone have any suggestions?
    Thnx,
    G

    I am writing about JTree rather than JTable ... because there are no other replies I figured it's better than nothing ...
    This code does the behavior you describe to a JTree.
    (Code snippet copied from JTree javadoc page and modified by me.)
    java.awt.event.MouseListener ml = new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent e) {
    int selRow = tree.getRowForLocation(e.getX(), e.getY());
    if(selRow != -1) {
    if(e.getClickCount() == 1) {
    System.out.println("SINGLE CLICK");
    else if(e.getClickCount() == 2) {
    System.out.println("DOUBLE CLICK");
    tree.clearSelection();
    tree.addMouseListener(ml);
    I put the print statements in to demonstrate that a double-click event actually is a single-click followed by a double-click. Since you didn't sound like you need to do any custom code for the single-click case, this fact probably doesn't affect you.
    I hope I helped
    Mel

  • How to disable Double Click Import

    Hi im new to CS6 and I find the double click import more trouble than it is helpfull. Clicking through clips im always missing the clips by a little this then brings up the import window then I have to close it and precious seconds are lost (its annoying). Is there a way to disable this.
    thanks,
    Ian

    On windows if you go to where it says "start/the windows icon" on the bottom left of your taskbar. Then go to "control panel" also make sure the view is set to "category small icons" (it should say view by it's in the upper right area of the control panel) then select "mouse". Then check the "pointer options tab".
    Then make sure the "enhance pointer precision" option is enabled. Then also enable to the "snap to" option as well. For me this makes my mouse more precise. (IMO anyways)
    Although I haven't really experinced the problem you're describing, I have however had issues with mouse precision before on certain systems. This setting has always helped me out with that.

  • TransferHandler need to override double click action

    Hi everyone...need some advice.
    I've downloaded code from this demo:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/example-1dot4/index.html#DragFileDemoonly AFTER downloading and making major changes (to incorporate it into my app), did I realize you have to DOUBLE click to drag a file. I find this quite annoying...and would like to make the drag/drop action respond to a SINGLE click.
    If you look at the demo code, you'll see there are 3 files associated with it. I'm assuming that it's the FileAndTextTransferHandler class I should have to make a change to...but, really not sure...
    I have no idea how to go about this... using the TransferHandler is all new to me. My best guess is to override it's getCopyAction() method in the subclass and have it return some kind of MouseClick action?
    Any advice?
    Thanks!

    If you have to double click then in the code the developer has called method getClickCount. So just open the files and look for the call.
    You will find something like
    if(e.getClickCount() == 2).... or similar. remove the if and it will work with a single click.

  • Double click action from trackpad button?

    Hi all,
    I've had my iBook G4 for a few months now and last week I've been noticing that a single click on my trackpad button would product doubl click results. This is really annoying when I:
    - try to use a form checkbox and it quickly changes and changes back
    - try to make a selection photoshop and it just disappears
    - try to open a new tab in Firefox/Camino/Safari/etc and two tabs open of the same URL
    I'm noticing that if I press on the left side of the button it tends to be a single click and the right (most common) gives the double. Did I accidentally change something in the System Preferences? Any experience on fixing this problem?
    Thanks to anybody who can help.

    Hi Eggz
    I experience the same here with my iBook G4 12''. It is quite like my three year old nokia cell phone registering double input from single touches all the time. Only the iBook is just four weeks old.
    The 'Ignore accidental trackpad input' option in System Preferences is turned on all the time. I unchecked it and it does not appear to have any effect on this double clicking issue.
    After four years of heavy TiBook trackpad button clicking (no mouse ever on my laptop), and knowing my friends 12'' PowerBook, the iBook trackpad button feels very lousy. Its unprecise movement/action point and its hollow plastic clicking sound do not live up to the standards I am used to. Ok, it's only an iBook - but it's disappointing anyway.
    I will talk to support tomorrow (today a holiday) and get back with news afterward.
    Sebastian
    iBook G4 12''   Mac OS X (10.4.6)   G5 Quad

  • Single Click versus Double Click Action not working

    Hello, having an issue with actions on symbols.
    I have symbols that when clicked play at a specific location on the timeline.
    Tthe first symbol uses single click (how I want it)
    The rest of the symbols also use single click, but when I test the animation they require double click (even though they are coded to be single click)
    Any ideas?
    Here is a testing location for the animation:
    http://www.contentx.com/DSU_discovery/MainAnim.html
    Ideally I want single click on all the symbols. The double click is confusing.
    Thanks!
    zack

    Hi, Zack-
    Marie nailed it without even looking at the project.    You are calling play() on a place that has a trigger that says stop().  The reason it plays the second time is rather complicated and has to do with the default play() behavior when there's a trigger, but the easy thing to do is to add one to your click event timecode.
    For instance: Presentation.click currently says:
    sym.play(22000);
    Just replace it with:
    sym.play(22001);
    The next easiest thing to do is to change your play call to use the optional "false" parameter to force it to not execute the trigger at 2200.
    sym.play(22000, false);
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#symbolinstance
       - scroll down to "play" to read more about the API
    Hope that helps!
    -Elaine

  • Can I disable double-clicking for a new tab?

    I would prefer to minimize the browser window by double-clicking next to the open tab (and don't really have a use for tabs, anyway). However, with the way it's set up currently, I have to be very careful when double-clicking the window, making sure the curser clicks above the tab area or it will add a new tab instead of minimizing. I cannot seem to turn off this functionality in any of my preferences or toolbar options and do not have administrative rights to upgrade to the newest version of Firefox. Is there a command I can type into the location bar to hide or disable this?

    You can minimize the window that has focus with Command-m.

Maybe you are looking for

  • Purchased extra storage for photos

    Hi, i have purchased an extra 200gb of storage for photos (newbie to mac here) , can anyone tell me if my photos are saved to iCloud do they stay there until i delete them or do they delete after so many days ?  I bought the 200gb as somewhere to sav

  • Forward and Back Delete Keys on Wireless Keyboard (short)?

    Hello, All: My new Apple wireless keyboard (short version) has only the delete key on it. Is there a way to program the additional delete key, allowing me to delete in the right-hand direction? The current delete key deletes only the in the left-hand

  • Migration from Mac OS 10.3 to Snow Leopard

    Hi All, I'm trying to transfer the mail account and a few other things (keychain, favorites, bookmarks, etc.) from my dad's old emac running 10.3 to a newer macbook pro running snow leopard. Unfortunately there is not migration assistant on the emac

  • 10.4.8 followed by wireless might mouse = no keyboard?

    For everyones info, I installed 10.4.8 minutes before I installed my new wireless Mighty Mouse (sw v1.3) and then by the next reboot the (PC) keyboard that I have running though a usb hub stopped working. As with many problems I've read about before,

  • ITunes update tv show problem

    I just updated to the latest version of itunes 7 and now all my tv shows I have in my libary have sorted themselve into alphabetical order, it used to be sorted by the tv show episode number but I can't seem to get them to rearrange into that order?