Pressing enter to add a row?

I recently upgraded to Numbers 3.5.2.  Prior to the upgrade, if I wanted to add a row to a table, I simply pressed 'Enter' and a row automatically added below whatever cell was currently selected.  It also added the data entered into the new cell to the formula of the cell(s) above it.  Since upgrading, I have to manually add a row and include the data in the formula...  Any ideas if this is simply a setting?  If so, which one?!

th eeasiest way to do this is to implement an ActionListener 9which then, you must implement the actionPerformed(ActionEvent e) method
example:
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
class Demo extends JFrame implements ActionListener{
    private JButton btnExit = null;
    private JButton btnBrowse = null;
    public Demo(){
        btnExit = new JButton("Exit");
         // tell what action listener to use, which is this class (since we implements
        //  the ActionListener
        btnExit(AddActionListener(this);               
        getContentPane().add(btnExit, "South");
        btnBrowse = new JButton("Browse");
        btnBrowse.addActionListener(this);
   // This method is the implementation of the ActionListener interface
    public void actionPerformed(ActionEvent e){
        Object o = event.getSource();  // return the object that trigger the action event
        if (o == btnExit){  // the object triggered is the exit button
            this.dispose();  // dispose the JFrame
            System.exit(0); // wuit the application
        else if (o == btnBrowse){
            JFileChooser fc = new JFileChooser();
            // etc...
}

Similar Messages

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged but column index will changed.
    Thanks to all.

    Well, the right arrow key will already move you to the next column, so the easiest way to do this is to modify the InputMap to have the Enter key invoke the same Action as the right arrow key.
    You can search the forum for my "Table Actions" (without the space) example that will show you how to do this.

  • How to keep pressing add row button to add new row

    Hello,
    I know that you can set the add row process to add many rows at once by pressing the button one time, but can anybody show me how to make it possible to keep hitting the add row button and it keep adding a new line?
    Right now it will only add one line and when I press the button again it does nothing.
    Thank you

    Hi, I have the same (or close) problem. I was trying to create a tubular form with ADDROW button and I did it. During creation wizard I did specify a table where added data should go. The solution I was looking for was to have only one empty row when I load my page and be able to add more empty rows one by one by clicking on ADD_ROW button. The problem is that when page loads it is already filled up with data from table (which I did specify during creation and where data should be writen to) and only when I press on ADD_ROW it will addd an empty one.
    Is there a way to do it the way I wanted?
    Thanks

  • Add Invitee Issue - Removes as soon as I press enter

    When I add an invitee to an event, it displays for a second and as soon as I move to the next field or press enter, it is removed. I successfully use this feature on my other two Macs but on my iMac it does not work.
    Any suggestions?

    KeyListener or a document listener would work. Sometimes KeyListeners can be painful to get working.

  • About.config adds http when I press enter

    When I enter about.config into Firefox 3.6.13 address bar and press Enter, an http: is added to the entry and a Yahoo search window opens. I cannot access about.config.

    about: is a protocol. See http://kb.mozillazine.org/About_protocol_links

  • Error in searching field value by pressing enter

    Hi all,
    I am able to get a pop up with the values of the field and select in that pop up to the main screen on pressing enter.
    But i get all the values of the column present in the table and not the one which i want to search. Also the main screen gives error message if the cursor is in the field on main page and works properly  if the cursor is not there in the field.
    Error is as follows:
    <b>BSP exception: Access to URL /sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/z_startingwith/POST is forbidden</b>
    Does it have anything to do with <form method = "POST">
    as the values from main screen are not passing to the next screen!!
    <b>Find.htm:</b> (Main screen)
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <script language="JavaScript" type="text/javascript">
    document.onkeydown = function(){
    if(window.event && window.event.keyCode == 13)
                  popUp=window.open('help.htm','_blank', 'Emp Details','width=100,height=300');
    </script>
    <htmlb:content design="design2003" >
      <htmlb:page title="Add Employee Details " >
        <htmlb:form action="POST" id = "form1">
          Empid:
          <htmlb:inputField id          = "partner"
                            showHelp    = "true"
                           submitOnEnter = "true"
                            value       = "<%= partner %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Help.htm</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Test" >
        <htmlb:form id="my_window" >
          <%
      data TV_ITERATOR Type Ref To zcl_itr." - Iterator Function
      data iterator type ref to IF_HTMLB_TABLEVIEW_ITERATOR.
      create object tv_iterator exporting appl_cons = appl.
      iterator = tv_iterator.
          %>
          <htmlb:tableView id               = "pop"
                           width            = "200"
                           headerVisible    = "true"
                           design           = "alternating"
                           visibleRowCount  = "10"
                           fillUpEmptyRows  = "true"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= row_index %>"
                           onRowSelection   = "MyEventRowSelection"
                           showNoMatchText  = "true"
                           filter           = "server"
                           sort             = "server"
                           onHeaderClick    = "MyEventHeaderClick"
                           table            = "<%= details %>"
                           iterator         = "<%= iterator %>" >
          </htmlb:tableView>
          <%
      if partner is not initial.
          %>
          <htmlb:inputField id      = "checked"
                            visible = "True"
                            value   = "<%= partner %>" />
                <script for="checked" language="javascript" event="onLoad()">
                       opener.document.form1.partner.value = <%= partner %>;
                       window.self.close();
          </script>
          <%
      endif.
          %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Oncreate:</b>
    select partner from zcrmm_buag into corresponding fields of table details.
    <b>OnInputProcessing:</b>
    DATA: IND TYPE I.
      DATA: TV TYPE REF TO CL_HTMLB_TABLEVIEW.
      DATA: EVENT1 TYPE REF TO CL_HTMLB_EVENT.
      EVENT1 = CL_HTMLB_MANAGER=>GET_EVENT( RUNTIME->SERVER->REQUEST ).
      TV ?= CL_HTMLB_MANAGER=>GET_DATA(
      REQUEST = RUNTIME->SERVER->REQUEST
      NAME = 'tableView'
      ID = 'pop' ).
      IF TV IS NOT INITIAL.
        DATA: TV_DATA TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
        TV_DATA = TV->DATA.
        IF TV_DATA->SELECTEDROWINDEX IS NOT INITIAL.
          FIELD-SYMBOLS: <row> LIKE LINE OF details.
        READ TABLE details INDEX tv_data->selectedrowindex ASSIGNING <row>.
    if <row> is assigned.
    partner = <row>-partner.
    endif.
        ENDIF.
      ENDIF.
    Any help is welcome.
    Regards,
    Rohit Khetarpal

    <i>actually when the pop up comes,the page on the back(i.e. Find.htm) shows error message as mentioned below..
    BSP exception: Access to URL /sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/z_startingwith/POST is forbidden</i>
    -->Remove "method="post" in FORM tag. I tested.
    <b>To pass the value from Find.htm to Help.htm</b> - see the below code
    <script language="JavaScript" type="text/javascript">
    document.onkeydown = function(){
    if(window.event && window.event.keyCode == 13)
    var val;
    val = document.getElementById("partner").value;
    * Here the VAL will have the value of query value(what user entered as Filter value) from Find.htm
    popUp=window.open('help.htm?partner'+val,'_blank', 'Emp Details','width=100,height=300');
    </script>
    <b>And also make the "Patner" in help.htm as "AUTO parameter.</b>
    Hope this will solve your peoblme.
    Raja T
    Message was edited by:
            Raja Thangamani

  • How to add new row in KL02 trx - Activity type control data

    Hi guys.
    I am not a FI-CO consultant, but I want to add a row since KL02 transaction within a cost center, with a new fiscal year. When you access KL02 (change activity type), you set the activity type, then press Master Data and the basic screen appears. If you press the Display planning control button, you will see the "Display Activity Type Control Data" List. I wanna add a row for a specific cost center here, because the cost center I refer has not 2011 as fiscal year. I tried to use, since basic screen of KL02, use the Change planning control button, but when I set my cost center and 2011 as fiscal year, the Save button is inactive. Furthermore, I tried to press the Period screen and a message appeared "No data has been entered yet". So I dont know how to add one row for a cost center in the Planning control (Activity type control data) list of the KL02 transaction, specifically for an activity type. Do you know? Thanks in advance

    Hi,
    The list of cost centers in which the activity type is planned is given in KL02 under planning data.  In order to add a new cost center to this, you need to enter the activity type in transaction KP26 for a particular year. 
    Goto transaction KP26
    Give version - 0
    from period 1 to 12
    year - 2011
    cost center - mention the cost center
    Activity type - mention activity type
    goto overview screen F5 and add the plan price for the activity in the cost center.  This step will automatically add new row in the activity type control data.
    Hope this helps.
    Thanks,
    Ram

  • Add new rows when query not input-ready

    In the Web Application Designer, is it possible to detect whether a query is in display or change mode, and depending on the outcome to set an Analysis Item parameter ?  This would provide a solution to the following:
    Background: I have a Web template used for sales quantity planning which contains two Analysis Items, each with their own input-ready query: ANALYSIS_ITEM_EXISTING allows users to enter plan values based on existing characteristic combinations, ANALYSIS_ITEM_NEW_ROWS allows users to enter new characteristic combinations and their plan values (using the 'Number of New Lines' parameter). These two separate Analysis Items are needed so that I can restrict the characteristic values differently for each. ANALYSIS_ITEM_NEW_ROWS shows only new rows, since I have set both parameters 'Number of New Lines' and 'Data Row to' to 5.
    Problem: If the query underlying ANALYSIS_ITEM_NEW_ROWS is not able to go into change mode (such as when there is an active data slice, or a locking conflict), then instead of seeing 5 empty rows the user sees existing data from the underlying query. This looks bad and is confusing for the user.
    Can anyone think of a solution?

    Hi Jacky,
    The Bex analyzer works in the same way as in the web. You've restrict all charateristics which are not in your rows or columns to a single value. Then you can see that in excel the last blank row has a  black border. If this is the case you can add a new row.
    By pressing F4 in an empty cell you can select values or if you've know the key you can type it directly. Also you can add multiple rows at once. IP collects all rows below the query.
    If this not works, just put all chars from your aggr. level in the rows and check if this works. And then for each change to the restriction/layout run the query and look if you can still add new rows.
    Hope it helps.
    Regards,
    J.

  • Can someone help me understand why the search engine will not do anything when I click the search icon or press enter, and why new windows won't open when I click on a link that should open one?

    When I type something in the search engine at the right hand corner of the screen it will not allow the search to take place. What I mean is I either click the icon or press enter and nothing happens. I would understand it better if it at the very least gave me a error message. I have also noticed that things like the opening of a new window via a link will not work. An example is I was just on www.walmart.com and when I clicked on an image in order to see a larger one no window opened. I also recently noticed that when I had a lot of tabs open the shortcut menus and menus in general did not load completely or really at all keeping me from saving the pages as bookmarks. I know this could be from low internet speed, a lot of tabs etc..., but I've had many more tabs open than I had then and it worked. Plus all I did was delete or close one tab and suddenly it worked. I then recovered the tab and it still worked even though I was back at the original amount of tabs. I have the latest version of firefox, not counting the beta, and I don't know of any way to solve the two main problems.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • After upgrade from 34 to 35, control click still opens new tab but new tab won't load upon selection. i have to click address and press enter or click go

    I've used Firefox for many years, I really like it and have been readily recommending it to others.
    However after finally upgrading to 35.0.1 from 34.x I now have a very annoying and time-consuming issue.
    So much so that I'm thinking of attempting a downgrade!
    I didn't really want to upgrade but Firefox kept bothering me and I inadvertently accepted. Is there a way to switch this upgrade reminder off?
    Anyway, previously I would Ctrl-click a link and it would open a new tab but not jump to it. It would remain unloaded until I clicked it. Then it would load as normal.
    After the upgrade, I Ctrl-click a link and it still opens a new unloaded tab. So far, so good. Now however, when I click the new unloaded tab, it just sits there and does nothing. I have to click the URL in the address bar and either press <Enter> or click the 'Go' arrow.
    I use this feature sometimes 100s of times a day so this is extremely annoying as it adds considerable time and extra clicks to each new link I click.
    I'm wondering if it could be a problem with one of my plugins. Can I temporarily disable them all at once to see if that's it?
    I will try disabling the tab related plugins.
    I've tried toggling 'Don't load tabs until selected' on the Tabs page from Tools menu, Options.
    Any help would be thoroughly appreciated as I would like to return to being a Firefox Fan

    It is unlikely this issue is to do with Firefox upgrading. Firefox 36 will come out any day soon you should then be on that rather than considering an outdated Firefox 34 which is now not secure, and not supported.
    * See don't [[Install an older version of Firefox]]
    You have not listed your plugins, and Yes you could try using Firefox's add-on manager to make sure they are all set as click to activate or even temporarily set as never activate.
    I am not familiar with the add-on
    * UnloadTab 0.24.7 https://addons.mozilla.org/en-US/firefox/addon/unloadtab/
    That certainly may be part of the problem try deactivating that with Firefox's addon manager. For all I know this may be the intended behaviour of that addon.
    Also troubleshoot the issue with Firefox's safe mode, remembering that does NOT disable plugins you will still need to do that manually.
    * [[Troubleshoot Firefox issues using Safe Mode]]
    Please post back with how you get on and what you have tried, Including upgrading to Firefox 36 when that is available.
    [https://www.mozilla.org/en-US/firefox/releases/ Release notes]
    * [https://www.mozilla.org/en-US/firefox/35.0.1/releasenotes/ Fx35.0.1 release notes]
    ** The pre release notes for Fx 36 [https://www.mozilla.org/en-US/firefox/36.0beta/releasenotes/ (beta)]
    ** Likely link to new version fx36 release notes https://www.mozilla.org/en-US/firefox/36.0/releasenotes/

  • How can i display the values in a table when i press enter

    hi,
    I have three text boxes and a table with three columns in a jsp page.When i keyin some values in the text boxes and press Enter these values should be dispalyed in the three columns of the table.When once again if i key in the text boxes with some other values these values should also be displayed in the table columns in another row.Can it be done.Pls help me.Hoping for a reply.
    Thanks
    Naveen

    hi
    just go through the Code below:
    this helps you but this works in IE only.
    <html>
    <head>
    <script language="javascript">
    <!--
         function show(frm) {
              Show.innerText = frm.desc.value;
         } // closing the function show()
    //-->
    </script>
    </head>
    <form name="testform">
    <textarea name="desc" rows="3" cols="20"></textarea>
    <input type="button" name="buttsub" value="Submit" onClick="javascript:show(this.form)">
    <br>
    <table width="500">
    <tr><td bgcolor="#e6e6e6">
    <div id="Show"> </div>
    </td>
    </tr>
    </table>
    </form>
    </html>
    Cheers
    rambee

  • If I add a row to my spreadsheet, how do I get the footer cell to show the last amount in the table automatically?

    Balance Forward
    $0.00
    Date
    Code
    Check Number
    Transaction/Description
    Deposit
    Withdrawl
    Ending Balance
    I am able to set up the Ending Balance to show the value of the cell right above it as long as I dont need anymore rows. If I add a row the value of the ending balance is stuck on the row or rows above the newly addd ones. All of my other formulas contiune on when a row is added, Is there a formula that can be added so that when a row is added the ending balance value moves to the last cell in the row?

    Cobb425 wrote:
    Thank you badunit for your responses and help. Jerrolds formula worked for me a little bit better for what I was looking to do. Thank you again for your help
    Whatever works best for you. Jerry's formula assumed your table might not be totally full, that there might be empty rows at the bottom.  Mine assumed there were no empty rows; it gave the value of the cell directly above it, as you asked. With Jerry's formula, be sure you enter your data in order by date or keep it sorted that way to ensure you get the correct "Ending Balance".  If your last row does not have the most recent date, the formula will return the balance from a different row.
    I don't see the advantage in Jerry's "Balance Forward" formula over the simpler one I provided.

  • Why does firefox 16.0.1 not allow me to click on buttons in the top 40mm below the banners, though i can get to them by tabbing to a buttons then press "Enter"?

    It doesn't matter what web-page I'm on, the top 40mm or so of the screen is a dead area for clicking on buttons or links. e.g. in Google I can click on a link lower down the page and get transferred to the new article - but if I were to move the item up nearer the top of the page the link would no longer operate.
    I can move to a link by repeated operation of the "Tab" key until the link or button is indicated, and then press "Enter" to use the link, but this is potentially very time-consuming if there are a lot of links on the page.
    I'm using a Toshiba Satellite L750 loaded with Windows 7, and Firefox 16.0.

    Problems with buttons and links at the top of the page not working can be caused by an extension like the Yahoo! Toolbar or a Babylon extension that extents too much downwards and covers the top part of the browser window and thus makes links and buttons in that part of the screen not clickable.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode

  • Create row as next row on click of add another row button not on top of it

    My af:table is based on a transientVO (all the attributes are transient)
    This is just for data entry and not for data retrieval
    So i have placed add another row button on my af:table
    After i enter data in the first row and click add another row button the data is being moved to second row and the new row is created on top of that
    I want the row to be created as next row . not on top of my existing row
    How can we do this

    would this help you:
    http://lucbors.blogspot.com/2010/12/adf-11g-how-to-control-where-new-row-is.html

  • Pressing ENTER key in clickToEdit af:table

    Hi,
    In our application, we have a click-to-edit table. We are experiencing the following problem.
    - Suppose one of the rows are selected, and focus is in an editable field.
    - Press the ENTER (or RETURN) key
    - The previously selected row is still selected (colored dark blue), but the fields of the row below are editable.
    This did not happen in 11.1.1.6 (after pressing enter, the same field of the second row was editable and focussed), but it does in 11.1.1.7
    Is this a known problem? Workaround??
    Screenshots:
    - before pressing enter: http://awesomescreenshot.com/0c416xvp94
    - after pressing enter :http://awesomescreenshot.com/0fa16xw841
    Table:
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                            var="row"
                            rows="#{bindings.DepartmentsView1.rangeSize}"
                            emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                            rowBandingInterval="0"
                            selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                            editingMode="clickToEdit"
                            id="tDep"
                            summary="Departments table"
                            rowSelection="single">Edited by: Fortega on 22-apr-2013 8:51

    Hi,
    I don't think this is intentional and thus should be filed as a bug. If you have a customer support contract or if you are from Oracle, please file a service request with support or file a bug directly. If none of the too applies, please send me a test case based on the HR schema in a ZIP file you rename to "unzip". My mail contact is in my OTN profile you find by clicking on my name next to this reply.
    Frank

Maybe you are looking for