Swapping content when moving rows in tables

In Pages '06, you could grab a row on a table and drag it over another row and the content would swap. This was a very convenient way to re-order a table. In Pages '08 if you drag a row, it just replaces the destination and leaves a blank row behind. (This of course is how MS Word works, I always liked the improvement in Pages.)
Does anyone know of a way to get back to this behavior or why it was changed?

that's surprising. Try it in Pages '06. I just did. And it works as I described. And then I looked up the Pages '06 help file:
(note, if you have both versions installed, and search help, you end up in the Pages '08 help file, so you have to navigate the Pages '06 help manually.)
in the previous version, the option key did an overwrite, but the reverse is not true in this version.
Moving or copying table cells
You can move or copy one or more table cells at a time.
To move cells:
Select the cell or cells you want to move.
Drag the cell or cells to a new location in the table.
Any cells you move swap position with cells previously occupying that location in the table.
You can also replace a cell by moving a copy of another cell into it. Select the cell you want to copy, and then press the Option key while dragging the cell into the cell you want to replace.

Similar Messages

  • How to update a table of contents when the feature "update table of contents" is unavailable?

    Hello folks,
    I've been struggling all morning with this issue and am completely desperate.
    First, some info:
    - I am making a spanish versions of an english documents: everything in the original doc was then edited, including TOCs. What I got at first, was a first spanish document already filled with spanish content.
    - I was not the primary creative of the document I'm workin on and am unable to get in touch with whoever that can be.
    - My document is a 200 pages text only document, with 12 chapters and, at the beginning of each chapter, a specific TOC for that very chapter.
    - Inside each chapter, there are only Sections and Subsections, no other style. Those are the two levels in the TOCs.
    - There is also a General TOC at the beginning of the document: that one only shows the Chapter names and the page number where to locate them.
    My problem:
    - Somewhere along the way, from one doc to another, the TOCs stopped to update the page numbers automatically.
    - Now I have sections and subsections that are shown in one page (for instance 204) but they actually are on page 135.
    - When I try to update the TOCs, I stand on the TOC itself as I was told in many tutorials, but the "update table of contents" feature is unavailable, even in the main TOC at the very beginning of the doc.
    It is like if I wasn't standing in the actual TOC, but there is no actual TOC anywhere that I could refer to.
    What can I do? I am changing the wrong page numbers manually but, of course, that is not ideal... and it may become more and more tricky while I keep producing new documents each based on the previous one.
    Any help will be much appreciated.
    Warm regard from sunny Paris, France!
    Sasha

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

  • Deleting rows in a table T1, when last row in table T2 is deleted

    I have two tables, T1 and T2. The relation of T1 to T2 is one to many.
    If the last row of T2 is deleted, the correspondig record in T1 should also be deleted.
    How can I implement this in the delete-trigger of T2.
    Thanks
    null

    I have two tables, T1 and T2. The relation of T1 to T2 is one to many.
    If the last row of T2 is deleted, the correspondig record in T1 should also be deleted.
    How can I implement this in the delete-trigger of T2.
    Thanks
    null

  • Hide headings when no row in table

    I am trying to create a report using LiveCycle/Acrobat, i.e. the form is created as a dynamic pdf in livecycle. I will open it with acrobat and import data.
    To simplify the report, it has two columns
    Client    Date Seen
    Not all clients have ever been seen, and I would like the report to look something like:
    Joe Blow    Date seen
                     may 5
                     june 16
    Mary Smith Date seen
                      july 23
    John Smith
    Fred Jones   Date seen
                      jan 14
    The important point there is that for John Smith, who has no instances of being seen, I want to make the header (Date seen) invisible.
    If it was a form into which someone was entering data, I would do something like (on the Exit event):
    if (Date.rawValue == null)
    {parent.parent.HeaderRow.presence = "invisible"}
    else {parent.parent.HeaderRow.presence = "visible"}
    but when I import XML data I don't think there is an "event".
    I suspect what I have to do is insert a script object, and I think it needs to be called somehow after the "Import Data", and I suspect it needs to loop through all the nodes and work out which instances of the HeaderRow should be invisible, and which invisible, but I'd appreciate some guidance.
    Thanks,
    Jon

    Thanks. That looks like the right event - it occurs once on opening the form and agin when you import the data. Just need to figure out the looping and presence-setting now.

  • Dynamic tables collide when adding rows

    Hi,
    I created two dynamic tables with buttons to add/remove/move rows. When I add rows, the table collides with the other one and overlays it. How can I manage that the other table (or content) of the PDF is moved automatically further down to avoid a collision?
    Thanks
    Using LCD 7.1
    Edited by: Martin Hornstein on Jul 2, 2008 2:52 PM

    Hi,
    first of all thanks for answering that quickly!
    @ Gopal
    Thank you. When I wrap the whole page with a subform and set it to flowed, all elements are in a chaos (but the table is flowed to the next page when reaching the end of it).Putting a subform between the two tables works!
    Space between two tables:
    subform (flowed)
    --> subform (flowed)
    >table
    --> subform (position) = spacer
    --> subform (flowed)
    >table
    @ amita
    unfortunately it is not possible to check that option for allowing page breaks
    Thanks to both of you!
    Edited by: Martin Hornstein on Jul 4, 2008 2:35 PM
    Edited by: Martin Hornstein on Jul 4, 2008 2:36 PM

  • Problem when rows in tables conditionalized

    Hi all,
    I'm really *really* hoping someone can help me with this.
    I am using TCS 3, using FrameMaker integration to create Webhelp from my Frame source.
    I use conditional text.
    I set my conditions within FrameMaker and have Robohelp use the Frame conditional settings.
    My tables are not that complicated, but in some cases, I have an entire row conditioned so that it does not appear in one stream of my output (i stream across my product releases with the same source).
    I set my conditions properly in Frame but when I create the output, the Webhelp output has additional empty columns randomly placed at the right edge of my table (not across the entire table, either, just some rows show the extra empty columns). In one case, a row appears several rows below where it should have appeared.
    When I delete the conditional text altogether from the rows in the table, the output generates correctly; obviously, this is not a solution.
    Also of note: this problem only occurs if there are straddled rows or columns in the same table (even if the conditioned rows are not the ones that are straddled).
    Has anyone seen this? Any solutions?
    Thanks in advance.

    When working in RoboHelp you have to select the whole row rather than just the contents of the row when applying a tag.
    That is to simply avoid and empty row which is not quite what you are seeing. However, it may prompt you to apply your tags in Fm in a different way that does fix the problem.
    Jeff is your man on what to do in Fm.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How do I keep content from moving around in a table

    For example on
    http://mysmcc.com/giving.asp
    , THe menu on the right is floating down because the page is a
    longer one. I have the cell top aligned. Any thoughts?

    I believe the problem you are having can be simplified if you
    consider this
    example -
    Put a 2 row by 2 column table on the page. Merge the two
    right hand cells
    into a single column. Put an image into each left cell, and
    you will see
    that they merge vertically seamlessly. Now begin to add
    content to the
    merged cell on the right and you will see that at some point
    you will have
    forced the two left cells to begin to split apart vertically.
    The more
    content you add to the right, the further apart the two left
    cells will get.
    See what I mean?
    To solve the problem, instead of making your page sit in a
    single table,
    have it in several nested tables. You should be able to put a
    two column
    table on the page with a nested table in each column. Put
    your navigation
    in the right nested table, and the
    content in the rleft nested table. Now, changes to either of
    the inner
    table's
    structure will not affect either of the inner nested tables.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "kakrho" <[email protected]> wrote in
    message
    news:faaee1$ju7$[email protected]..
    > For example on
    http://mysmcc.com/giving.asp
    , THe menu on the right is
    > floating down because the page is a longer one. I have
    the cell top
    > aligned. Any thoughts?

  • Content is moving when seperateing a spread into singles

    Hello,
    OK...I have a document that started as single pages, and I have manually moved some to create spreads...That works fine....But, when I select the 2 pages that are spreads and choose "allow selected spread to shuffle" it separate's the pages but the content is moving?
    The offset of the x and y coordinates actuallyy change?? and the object all shift...... The slug really moves out of wack......
    Does anyone know how this could possibly happen?
    thanks!!!
    babs

    There's a good chance that Page Control has something to do with that. Here's some suggestions:
    1) If enable Layout Adjustment (under Layout --> Layout Adjustment) is not enabled, try enabling it.
    2) Try contacting DTP Tools to see if this is a known issue, and/or if they have a workaround.
    3) If you are feeling adventurous, you can try downloading Reflective Objects and seeing if that keeps your objects where they belong. I have no idea how well it interacts with Page Control and I'd be very interested in finding out. If the results are interesting enough, it might even be worth a complementary license of Reflective Objects...

  • How do I accurately detect overset contents when using tables?

    Hello, all. I am familiar with how to detect overset contents of a text frame, namely:
    if ( myTextFrame.parentStory.contents.length > myTextFrame.contents.length) {
      alert('There is overset text');
    } else {
      alert('There is no overset text');
    However, the contents of my story are three tables, rather than text. Each table contains dozens of cells filled with text. Yet the "length" property of the frame is only 3! How do I accurately read the length of the content given that most of it is in tables so that I can test for overset text?
    In case it helps anyone, a more detailed description is:
    If there are three tables in the story, and only 2 fit on a page-sized text frame, the length property of that frame will be 2. Kind of weird, but not a problem yet.
    In the same scenario, however, if the third table BEGINS on the page but spills over (creating an overset situation), the length property of that frame will be 3 -- causing the test think there is NO overset text! InDesign simply sees 3 characters in the story, and only 3 characters on that page.
    When I look at the "contents" property of the story, it just reads 3 squarish characters. They're obviously some kind of special character. InDesign apparently takes the concept of "table" and just writes a placeholder character for it in the "contents" property.
    Am I going to have to create some routine to loop through every cell of every table and somehow add it all up to get a proper length? How do I just test for overset-ness?
    Thank you!

    Actually, Harbs, I'd already just burst my own bubble by running additional tests! So I have to revise my whole set of instructions.
    IGNORE EVERYTHING I WROTE ABOVE.
    Here is the revised solution, based on the initial solution proposed by Dirk and then revised to work around Harbs bug discoveries. It is essentially a corrected version of Dirks line. Instead of saying:
    app.activeDocument.stories.item(0).tables.lastItem().cells.lastItem().insertionPoints.last Item().parentTextFrames.length
    you would say:
    app.activeDocument.stories.item(0).tables.lastItem().cells.lastItem().parent.parent.insert ionPoints.lastItem().parentTextFrames.length
    That's just the short version. Here's the full code and explanation:
    Summary of problem:
    InDesign treats a table as a single special character, so it does not accurately report the "overflows" property of a text frame containing a table which spills beyond its margins. A text frame will show as not overflowing (i.e. myTextFrame.overflows will return false) if its final table simply begins within its margins--even if most of the table spills well beyond the text frame. So a ten-page table that starts on page one will only considered by InDesign scripting as being one character long (and therefore shown as fitting completely in first frame even when it doesn't). The solution for this, as discovered by Dirk, is to test whether the final cell of the table is in an overflow area.
    The solution:
    You cannot just test whether the cell is overflowing, or whether the parent text frame is overflowing, because InDesign will misreport them and their contents when they are in an overflow area, making it impossible to distinguish a cell overflow from a containing-text-frame overflow. So we just check the parent text frame of the final insertion point, which is after the last table, and see if its length is zero (meaning has no visible contents). If so, the insertion point is in an overflow area!
    So the test to run is this:
    var finalCell = myTextFrame.parentStory.tables.lastItem().cells.lastItem();
    if(finalCell.parent.parent.insertionPoints.lastItem().parentTextFrames.length==0) {  ...your code here...  }
    Of course you'll replace myTextFrame with the one you're dealing with in your own script.
    Example usage:
    This is how I implemented this in my own script. I have an array of text frames which I pass to this function, and by the time I call the function this array contains only one element, just the first large text frame (with my long table already placed inside it). It also relies on a helper function drawTableFrame which is simple and I'll leave out; it just adds a text frame to the new page and sizes it. And of course myDocument I've long ago set to be the document I'm working in.
    // Takes array of text frames, checks for overflow, and adds pages as needed
    function addOverflowPages(whichFrameArray) {
        var i = 0;
        var finalCell = whichFrameArray[0].parentStory.tables.lastItem().cells.lastItem();
        while (finalCell.parent.parent.insertionPoints.lastItem().parentTextFrames.length==0) {
            i++;
            var newpage = myDocument.pages.add(); // add new page
            whichFrameArray.push(drawTableFrame(newpage)); // draw new frame
            whichFrameArray[i].previousTextFrame = whichFrameArray[i-1]; // link new frame to previous one
    I hope this one is solid at last. I have tested it with empty final cell, full final cell, partially-overflowing final cell, and totally-overflowing final cell, and they all work for me. Thanks again to everyone for pointing me in the right direction!

  • First row of table is displayed as selected always when application loads.

    Hi..
    I have a table with few rows in it.When the application loads the first row of table is displayed as selected always.I don't want any of the rows to be displayed as selected.
    How can I prevent this ?
    My jdev version 11.1.1.5.0
    Edited by: Lovin_JV_941794 on Mar 12, 2013 2:13 AM

    Hi,
    can you remove the attribute
    selectedRowKeys="#{bindings.XXXX.collectionModel.selectedRow}"This would ensure that there are no selected rows persisted. you can also paste the jspx code also for better answer.
    ~Abhijit

  • Scrolling to next range in advanced table when new rows are added.

    I programatically implemented Add New Row in an advanced table.
    "Records Displayed" attribute of advanced table =10, so as log as I add upto 10 new rows the table displays 10 rows,if I add 11th record the new record is appended @ 11th position but I've to choose "Next" link on the advanced table to see the 11th row.Is it possible to show the last rowset in the advanced table when new rows are added?
    The underlaying VO executes the following code when "Add New Row" button is pressed:
    int rCount = this.getFetchedRowCount();
    int rangeSize = this.getRangeSize();
    int rangeStart = this.getRangeStart();
    if (rCount < rangeSize) {
    this.insertRowAtRangeIndex(rCount, newRow);
    } else {
    this.setRangeSize(rCount+1);
    this.insertRowAtRangeIndex(rCount, newRow);
    this.setCurrentRow(newRow);
    To scroll to the 11-20 rows (when added more than 10 rows),I tried with following options, but none of them helped:
    1) int newRangeStart = ( rCount / 10 ) * 10 ;
    this.setRangeStart(newRangeStart);
    2) this.scrollRange(newRangeStart);
    3) this.scrollRange(rCount);
    4) int newRangePage = rCount / 10;
    this.scrollToRangePage(newRangePage+1);
    5) this.getNextRangeSet();
    Please let me if it is possible to achieve.

    What happens if you just add the new row without specifying where to add it ? doesn't it add the new row on the same page as the last row ?
    Thanks
    Tapash

  • Why does IBA not include the table of contents when exporting to PDF?

    Why does IBA not include the table of contents when exporting in PDF? I can seee the TOC in iBooks Author but when I want to see what it looks like in a regular PDF, the TOC does not show up.

    Strange question you ask here. Not sure why that is relevant to "why" IBA won't publish a table of contents in a PDF.
    But since eyou asked, it's simple, I want to author some books in IBA and also see what they look like - completed - in PDF. Again, any suggestions as to a work around so I don't have to cut and paste back into Pages?

  • What is the problem with native dynamic sql when counting rows in all table

    what is the problem with native dynamic sql when counting rows in all table?Giving an error "table or view does not exist". Thanks.
    DECLARE
    v_sql_string varchar2(1000);
    v_no_of_rows number;
    BEGIN
    for i in ( select table_name from all_tables )
    loop
    v_sql_string := ' select count(1) from ' || i.table_name;
    dbms_output.put_line( v_sql_string );
    --execute immediate v_sql_string into v_no_of_rows;
    end loop;
    END;

    Usually your problem can be described with 'Who cares'. I mean, for what reason do you do this? I doubt that there's a business need to get 100 % accurate answers for this. Normally such things are used to get a picture about the growth of data.
    Personally I would prefer to have up-to-date statistics for all tables and just query the number of rows from there. Sufficient for me in < 99 % of all cases.
    Just my $ .02...

  • How to dynamically load an Image into a TableView when its row/cell becomes visible?

    Hi,
    I am building an application that shows tables with large amounts of data containing columns that should display a thumbnail. However, this thumbnail is supposed to be loaded in the background lazily, when a row becomes visible because it is computationally too expensive to to this when the model data is loaded and typically not necessary to retrieve the thumbnail for all data that is in the table.
    I have done the exact same thing in the past in a Swing application by doing this:
    Whenever the model has changed or the vertical scrollbar has moved:
    - Render a placeholder image in the custom cell renderer for this JTable if no image is available in the model object representing the corresponding row
    - Compute the visible rows by using getVisibleRect and rowAtPoint methods in JTable
    - Start a background thread that retrieves the image for the given rows and sets the resulting BufferedImage in a custom Model Object that was used in the TableModel (if not already there because of an earlier run)
    - Fire a corresponding model change event in the EDT whenever an image has been retrieved in the background thread so the row is rendered again
    Btw. the field in the model class holding the BufferedImage was a weak reference in this case so the memory can be reclaimed as needed by the application.
    What is the best way to achieve this behaviour using a JFX TableView? I have so far failed to find anything in the API to retrieve the visible items/rows. Is there a completely different approach available/required that uses the Cell API? I fail to see it so far.
    Thanks in advance for any hints here.

    Here’s what I have tried so far:
    I have defined a property in my model object that contains a weak reference to the image that is expensive to load. I have modeled that reference as an inner class to the object so I have a reference to its enclosing object. That is necessary because my cell factory otherwise has no access to the enclosing model object, which it needs to trigger loading the image in the background.
    The remaining problems I have is, that I don’t have sufficient control over the loading process, i.e. I need to delay the loading process until scrolling has stopped and abort it as soon as the user starts scrolling again and the visible content changes. Imagine that loading an image for a table row (e.g. a thumbnail for a video) takes 200ms to load and a user quickly scrolls through a few hundred records and then stops. With my current set-up, the user has to wait for all loading processes that were triggered in the cell factories to finish until the thumbnails of the records they are looking at will appear (imagine an application like finder to be implemented like that, it would simply suck UX-wise). In my swing application a background thread that loads images for the visible records is triggered with a delay and stopped as soon as the visible content changes. This works well enough for a good user experience. I don’t see how I can do this based on the cell API. It is nice to have all this abstracted away but in this case I do not see how I can achieve the same user experience as in my swing application.
    I also tried registering a change listener to the TreeCell’s visible property to make that control the image loading but I don’t seem to get any change events at all when I do that.
    I must be missing something.

  • Unable to delete a row in table control

    Hi,
    I'm unable to delete a row in table control.
    I have defined a selection column for my table control but it is not getting value 'X' when i'm selecting a row for deletion.
    Also, when I press enter, some of the columns in table control are getting initialized. I'm passing these values to the internal table along with other columns.
    Please help.
    Regards,
    Manasee
    Message was edited by: Manasee Chandorkar

    hi,
    kindly chk this.
    PROCESS BEFORE OUTPUT.
    MODULE status_9010.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_to_table.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_from_table.
    ENDLOOP.
    *& Module move_data_to_table OUTPUT
    This is to move the data from the internal table to the table control
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to the table control
    zmpets_mode-modecode,zmpets_range-rangeid,zmpets_servfacto-factor are column name of table control
    READ TABLE int_factor INDEX tab_control-current_line.
    IF sy-subrc = 0.
    zmpets_mode-modecode = int_factor-modecode.
    zmpets_range-rangeid = int_factor-rangeid.
    zmpets_servfacto-factor = int_factor-factor.
    ENDIF.
    ENDMODULE. " move_data_to_table OUTPUT
    *& Module move_data_from_table INPUT
    Date is moved from the table control to the Internal Table
    MODULE move_data_from_table INPUT.
    To move the data from the table control to internal table 'INT_FACTOR'.
    int_factor-modecode = zmpets_mode-modecode.
    int_factor-rangeid = zmpets_range-rangeid.
    int_factor-factor = zmpets_servfacto-factor.
    int_factor-chk = line.
    *here if the data is there, it will modify
    MODIFY int_factor INDEX tab_control-current_line.
    IF sy-subrc NE 0. "data not exixting in table control . ie new data, then append it
    APPEND int_factor.
    CLEAR int_factor.
    ENDIF.
    ENDMODULE. " move_data_from_table INPUT
    *delete a line from table control
    MODULE user_command_9010 INPUT.
      CASE sy-ucomm.
    When an entry is deleted, and the entry is removed from the table
    control.
        WHEN 'DELETE'.
          PERFORM f_del_frm_tab_cntrl.
      ENDCASE.
    ENDMODULE.
    FORM f_del_frm_tab_cntrl .
      LOOP AT int_factor WHERE chk = 'X'.
        DELETE int_factor WHERE chk = 'X' .
        CONTINUE.
      ENDLOOP.
      CLEAR int_factor.
    ENDFORM.
    for any clarifiaction pls mail me.
    pls reward points, if this helped u.
    regards,
    anversha.
    [email protected]
    Message was edited by: Anversha s

Maybe you are looking for

  • Main optimizer error - There is already a transaction for the system

    Hi Guru's,    I am trying to download support packs from maintenance optimizer in solution manager system. When i select the logical system it gives the error 'There is already a transaction for the system of this product version' After this error, i

  • Using a table in a page fragment

    I moved my table into a page fragment and now the "pagination" buttons on the table do not work. It is always on page 1. I have a table in a page fragment that is in included in a jsp page. I fill the table using the ObjectListDataProvider in the jsp

  • Problem with external ext4 HDD

    Hi Arch community! I have an Arch installation on a 40GB IDE hdd, in an old desktop working flawlessly. This morning I removed the hard drive from the computer and put it in an external enclosure to connect it via USB to another PC, also running Arch

  • Question on customer master IDoc

    Hello! This will probably be easy points for someone.  I am processing an inbound customer master using the IDoc type DEBMAS02.  When I process the IDoc through WE19 in the background (with debugging on), the customer is created - no problem.  But th

  • Customize the Survey link

    Hello I am wondering if there is a way to customize the survey link that shows up after a Skype webinar? I would like to add a graphic for users to click on instead of just showing a link. Thanks in advance for any help!