Fixed-Row Enumeration.

Hi all,
Can some one tell me the procedure for using Fixed-row enumeration. I have enforced in my rows NOT to repeat across pages and tried several other different ways like nesting etc., but all ended up in vain.
Thanks in advance,
Balaji

If you want to ensure that data within a row of a table is kept together on a page,
youcan set this as an option using Microsoft Word’s Table Properties.
1. Select the row(s) that you want to ensure do not break across a page.
2. From the Table menu, select Table Properties.
3. From the Row tab, deselect the check box "Allow row to break across pages".
This features is available in Latest Release.

Similar Messages

  • JTable fixed Row and Column in the same window

    Hi
    Could anyone tip me how to make fixed row and column in the same table(s).
    I know how to make column fixed and row, tried to combine them but it didnt look pretty.
    Can anyone give me a tip?
    Thanks! :)

    Got it to work!
    heres the kod.. nothing beautiful, didnt clean it up.
    * NewClass.java
    * Created on den 29 november 2007, 12:51
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package tablevectortest;
    * @author Sockan
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    public class FixedRowCol extends JFrame {
      Object[][] data;
      Object[] column;
      JTable fixedTable,table,fixedColTable,fixedTopmodelTable;
      private int FIXED_NUM = 16;
      public FixedRowCol() {
        super( "Fixed Row Example" );
        data =  new Object[][]{
            {      "","A","A","A","",""},
            {      "a","b","","","",""},
            {      "a","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","","","","","f"},
            {      "","b","","","",""},
            {      "","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","b","","","",""},
            {      "","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","","","","","f"},
            {      "I","","W","G","A",""}};
        column = new Object[]{"A","B","C","D","E","F"};
        AbstractTableModel fixedColModel = new AbstractTableModel() {
          public int getColumnCount() {
            return 1;
          public int getRowCount() {
            return data.length;
          public String getColumnName(int col) {
            return (String) column[col];
          public Object getValueAt(int row, int col) {
            return data[row][col];
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel    model = new AbstractTableModel() {
          public int getColumnCount() { return column.length-2; }
          public int getRowCount() { return data.length - FIXED_NUM; }
          public String getColumnName(int col) {
           return (String)column[col+1];
          public Object getValueAt(int row, int col) {
            return data[row][col+1];
          public void setValueAt(Object obj, int row, int col) {
            data[row][col+1] = obj;
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel fixedTopModel = new AbstractTableModel() {
          public int getColumnCount() { return 1; }
          public int getRowCount() { return data.length - FIXED_NUM; }
          public String getColumnName(int col) {
           return (String)column[col];
          public Object getValueAt(int row, int col) {
            return data[row][col];
          public void setValueAt(Object obj, int row, int col) {
            data[row][col] = obj;
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel fixedModel = new AbstractTableModel() {     
          public int getColumnCount() { return column.length-2; }
          public int getRowCount() { return FIXED_NUM; }
          public Object getValueAt(int row, int col) {
            return data[row + (data.length - FIXED_NUM)][col+1];
        table = new JTable( model );
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedTable = new JTable( fixedModel );
        fixedTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedColTable= new JTable(fixedColModel);
        fixedColTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedColTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedTopmodelTable = new JTable(fixedTopModel);
        fixedTopmodelTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedTopmodelTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);   
        JScrollPane scroll      = new JScrollPane( table );
         scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
         scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        JScrollPane fixedScroll = new JScrollPane( fixedTable ) {
          public void setColumnHeaderView(Component view) {}
        fixedScroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        fixedScroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
        JScrollBar bar = scroll.getVerticalScrollBar();
        JScrollBar dummyBar = new JScrollBar() {
          public void paint(Graphics g) {}
        dummyBar.setPreferredSize(bar.getPreferredSize());
        scroll.setVerticalScrollBar(dummyBar);
        final JScrollBar bar1 = scroll.getHorizontalScrollBar();
        JScrollBar bar2 = fixedScroll.getHorizontalScrollBar();
        bar2.addAdjustmentListener(new AdjustmentListener() {
          public void adjustmentValueChanged(AdjustmentEvent e) {
            bar1.setValue(e.getValue());
        JViewport viewport = new JViewport();
        viewport.setView(fixedColTable);
        viewport.setPreferredSize(fixedColTable.getPreferredSize());
        fixedScroll.setRowHeaderView(viewport);
        fixedScroll.setCorner(JScrollPane.UPPER_LEFT_CORNER, fixedColTable
            .getTableHeader());   
        JViewport viewport2 = new JViewport();
        viewport2.setView(fixedTopmodelTable);
        viewport2.setPreferredSize(fixedTopmodelTable.getPreferredSize());
        scroll.setRowHeaderView(viewport2);
        scroll.setCorner(JScrollPane.UPPER_LEFT_CORNER, fixedTopmodelTable
            .getTableHeader()); 
        scroll.setPreferredSize(new Dimension(600, 19));
        fixedScroll.setPreferredSize(new Dimension(600, 100)); 
        getContentPane().add(     scroll, BorderLayout.NORTH);
        getContentPane().add(fixedScroll, BorderLayout.CENTER);   
      public static void main(String[] args) {
        FixedRowCol frame = new FixedRowCol();
        frame.addWindowListener( new WindowAdapter() {
          public void windowClosing( WindowEvent e ) {
            System.exit(0);
        frame.pack();
        frame.setVisible(true);
    }

  • Fixed row in JTable

    Dear All
    Does anyone know how to fix a row in a JTable, for example, to fix the bottom row in a JTable, so that users can scroll through the rest of the rows in the table without affecting this row. But when if a column size is changed, it will resize its cell simultaneously.
    if you know the answer, please provide sample code as well.
    Thanks in advance
    Ken

    Hi,
    to do that, you need an own DataModel in the table, I guess. What is displayed in a cell is asked from the JTable by the getValueAt(...)-method of the datamodel. If you want to fix a row that way, you have to answer this "question" with the right response - that will be not the original cell there but another one while scrolling during a row is fixed.
    You also must keep track of the messages that are to be fired to synchronize the display of the table with the answers you return on the getValueAt(...)-method. The "fixing" is a kind of shifting the fixed row in the table, that must be reflected by the messages you have to fire. fireTableDataChanged() would be an idea but that cause rerendering of all the visible cells of the table - other messages are more precise, but you need to do more and have to worry about more things while programming this.
    In the case of the bottom line it is possible to use a second JTable in the south of the panel which has only one row - the fixed row - in it - if you discard the header of it, it would look like the row is fixed in the original table, but by using this possibility you must synchronize the changing of the column-width and ofcourse the reordering of columns too done in the original table with the second table. I guess the method in the above paragraph would be the better approach to it.
    I have no code for it, but I have tried, to give you a guideline how this can be done.
    greetings Marsian

  • To create a fixed row in the bottom of table and to merge three columns

    Hi,
    I have a table displaying some values but is there any way to get a fixed row at the bottom which will sum the values above.
    ie
    service   business  jan       feb       mar      april
    table       cut          900       100      100      200
    chair       blade       100        200      300     400
    sum                       1000      300      400    600
    so the final row i need it to be constant even if i scroll down the table, this row should be always fixed and visible. and the table data are filled dynamically.. so i dont know the no of rows available as well.
    How can I do it. Any insight on it will be helpful.
    Thanks and Regards
    Tenzin

    Hi,
    CL_WD_TABLE - >SET_FOOTER_VISIBLE where you can provide that summation in the footer.
    As you are calculating the sum there will be the Name for that field to hold summation value right.
    Based on the name of that field you can set it to the footer by passing the necessary paramters to that
    method.
    How are you filling the table.
    Regards,
    Lekha.

  • Fixed Rows/Columns in Web Interfaces

    Hello,
    Does anybody has the How to paper about Fixed Rows/Columns in Web interfaces?
    I found one link (By Olaf Fischer) that was expired.
    Thanks a lot!
    Bueno

    and here is a copy of the download link:
    <a href="For download follow the link https://sapmats-de.sap-ag.de/download/download.cgi?id=WEJDT0MZ18U0W5NXAQJU92HI46IH82UZYO7X84BH8RZ7T1V00M">For download follow the link https://sapmats-de.sap-ag.de/download/download.cgi?id=WEJDT0MZ18U0W5NXAQJU92HI46IH82UZYO7X84BH8RZ7T1V00M</a>
    Regards, Olaf

  • Can I make auto layout of Matrix Chart after setting fixed rows/columns ?

    Can I make auto layout of Matrix Chart after setting fixed rows/columns ?
    I want to make Matrix Chart to auto layout to zooming out a chart of filter.
    Matrix Chart's layout is AUTO layout at creating.
    Matrix Chart layout can fix specfic rows / columns from layout toolbar.
    BUT fixed layout's Matrix Chart does not zoom a chart of filter.
    Regards,
    Yoshihiro Kawabata
     

    Hi Yoshihiro - at the moment if a specific number of row/columns has been set for small multiples the chart will maintain these proportions even after filtering.
    If the chart hasn't had a set row/column dimensions set it will automatically be re-laid out when filtered however.

  • Data Table Fixed rows and Scroll Bar

    Hi
    I have data table which displays the data dynamically, but when there is no data , the table is shrinking and moving the other elements of the page. Is there any way i can keep to fixed number of rows irrespective of data presence?
    Like i need to display only 10 rows at a time, if there are 7 rows in DB, i have t o display 7 rows containing data and rest as blank .
    If my data increases more than 10 rows how can i enable Scroll Bar Automatically on this?
    Thanks in advance.

    Then add empty row objects to the collection or datamodel which is been passed to the datatable value.

  • How to fix row size in rtf report

    I have a BIP report based on rtf template. The rows (in a table) within the rtf-file have different height. When I try to view/export it using html or pdf format it works right. But the rtf format export get me a file that has wrong rows height. All rows have the same height equals text font size.
    How can I fix it ?
    Thanks

    I am facing the same problem, any one any fixes?
    I am printing address labels and found that even in PDF output they are not the same size as they should be. In PDF its slightly smaller than the size I set. In word, its much smaller.

  • Example: Table with a fixed row, feedback please

    I've done a lot of lurking and posted some questions on this forum, but I haven't contribued very much, so I thought I'd share the solution to a problem I recently had. The need I had was pretty straight forward: I have a row of reference data that I want to keep fixed at the top of a JTable while the user scrolls through any number of additional rows. The examples I've seen on the web, e.g,:
    http://access1.sun.com/FAQSets/FixedRowExample.java.html
    are either too complex or are overkill for the simple functionality I need.
    My solution was to overload my table's HeaderRenderer so that they would contain my extra row of data, in addition to displaying normal header titles. I've provided the FixedRowHeaderRenderer class below, along with a main method to demonstrate the result. Any suggestions or feedback would be appreciated!
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.util.*;
    public class FixedRowHeaderRenderer extends DefaultTableCellRenderer {
      private Object[] headerData;
      private Font headerDataFont;
      private Color headerDataBackgroundColor, headerDataForegroundColor;
      public FixedRowHeaderRenderer(){
        this(null, null, null, null);
      public FixedRowHeaderRenderer(Object[] headerData, Font headerDataFont,
        Color headerDataForegroundColor, Color headerDataBackgroundColor){
        super();
        this.headerData = headerData;
        this.headerDataFont = headerDataFont;
        this.headerDataBackgroundColor = headerDataBackgroundColor;
        this.headerDataForegroundColor = headerDataForegroundColor;
      public Component getTableCellRendererComponent(JTable table, Object value,
                       boolean isSelected, boolean hasFocus, int row, int column) {
        JPanel panel = new JPanel(new BorderLayout());
        if (table != null) {
          JTableHeader header = table.getTableHeader();
          if (header != null) {
            setForeground(header.getForeground());
            setBackground(header.getBackground());
            setFont(header.getFont());
          if(headerData!=null) {
            DefaultTableCellRenderer headerCell = new DefaultTableCellRenderer();
            headerCell.setForeground(getHeaderDataForegroundColor());
            headerCell.setBackground(getHeaderDataBackgroundColor());
            headerCell.setFont(getHeaderDataFont());
            Object datum = headerData[column];
            headerCell.setText((datum == null || datum.toString().length()==0)?
              " " : datum.toString());
            headerCell.setBorder(UIManager.getBorder("TableHeader.cellBorder"));
            panel.add(headerCell, BorderLayout.SOUTH);
        setText((value == null) ? "" : value.toString());
        setBorder(UIManager.getBorder("TableHeader.cellBorder"));
        panel.add(this, BorderLayout.NORTH);
        return panel;
      public Object[] getHeaderData() {
        return headerData;
      public void setHeaderData(Object[] headerData) {
        this.headerData = headerData;
      public void setHeaderData(Vector headerData) {
        this.headerData = headerData.toArray();
      public Font getHeaderDataFont() {
        if(headerDataFont == null) {
          return getFont();
        return headerDataFont;
      public Color getHeaderDataBackgroundColor() {
        if(headerDataBackgroundColor == null) {
          return getBackground();
        return headerDataBackgroundColor;
      public Color getHeaderDataForegroundColor() {
        if(headerDataForegroundColor == null) {
          return getForeground();
        return headerDataForegroundColor;
      public void setHeaderDataFont(Font font) {
        headerDataFont = font;
      public void setHeaderDataBackgroundColor(Color color) {
        headerDataBackgroundColor = color;
      public void setHeaderDataForegroundColor(Color color) {
        headerDataForegroundColor = color;
      public static void main(String[] args) {
        class FixedRowTableDemo extends JFrame {
          FixedRowTableDemo() {
            this.addWindowListener(new WindowAdapter() {
              public void windowClosing(WindowEvent e) {
                System.exit(0);
            setSize(Toolkit.getDefaultToolkit().getScreenSize().width/4,
              Toolkit.getDefaultToolkit().getScreenSize().height/4);
            String a = "a", b = "b", c = "c";
            int rowcount = 0;
            Object[][] data = new Object[][]{{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c},
            {new Integer(rowcount++),a,b,c},{new Integer(rowcount++),a,b,c}};
            Object[] headers = new Object[]{"rowcount",a,b,c};
            Object[] headerData = new Object[]{"",c,b,a};
            JTable table = new JTable(data, headers);
            table.getTableHeader().setDefaultRenderer(new FixedRowHeaderRenderer(null,
              new Font(table.getFont().getName(), Font.ITALIC, table.getFont().getSize()),
              Color.yellow, Color.red));
            JScrollPane scroll = new JScrollPane(table);
            this.getContentPane().add(scroll);
            this.show();
            ((FixedRowHeaderRenderer)table.getTableHeader().getDefaultRenderer()).
              setHeaderData(headerData);
        FixedRowTableDemo demo = new FixedRowTableDemo();
    }

    nice! really, really nice!

  • Fix Row size in Checkbox LOV

    Hi,
    I have to add the checkbox List of values(LOV) by columns wise so that I have to fix the row size like 3 and have to add
    all the items by columns wise.
    Generally, in apex checkbox LOV display the items as Row wise and after certain columns (that is fixed in the option) items are displyed on the second row.But, I have to add the items on the columns basis so that items can be added column wise menas first colums should have 3 rows then second colums and then thrid. Last column may have one or two items.
    So how to do that. Need your help
    Thanks
    -PK

    I am facing the same problem, any one any fixes?
    I am printing address labels and found that even in PDF output they are not the same size as they should be. In PDF its slightly smaller than the size I set. In word, its much smaller.

  • ALV List Fixed Rows.

    Hello,
    I have a requirement where i want the first two lines on the internal tables that are displayed to be fixed in an alv grid. I have to generate dyanmic columns so i can't use another list. The data in the list is something like this.
    matnr  columnA columnB columnC..... Maybe N
    Limit1  10       -           -
    Limit2  -        20         -
    2306     A        B         C
    2441     D       E          F
    I want the limit1 and the limit2 column to be fixed and Can i add them directly to Column heading but on a new line or fix these two lines so that the othe data moves.
    Regards,
    Shekhar Kulkarni

    Hello,
    I am sorry but the lines get distorted after i post the message. Hope this will make clear.
    ..MATNR...COLA...COLB...COLC
    |----
    Limit1..
    ...PC.....-.
    Limit2..
    ...-......PQ.
    2345 ...
    .XY.
    ...AB.....DE.
    | 5634 ...|.AK.|...TR.....NK. |
    Now columns COL A COlB COLC there can be n such columns and are decided dynamically. Limit1 and limit2 are the rows of the internal table which are constant for these eg cola colb ... What i want here is now limit1 and limit2 should not move when i scroll on the vertical bar. as there constant for that particular column in this case say colb. so when i press the scroll bar button 2345 should go up 5634 should remain and limit1 and limit 2 should be seen.
    eg i press the scroll bar the two rows limit1 and limit2 remain as they are.
    ..MATNR...COLA...COLB...COLC
    |----
    .Limit1..
    ...PC.....-...
    .Limit2..
    ...-......PQ..
    .5634 ...
    .AK.
    ...TR.....NK..
    |.1346......XY.....TY.....NK..|
    Hope i am clear

  • How to fix Rows in Bx3.0

    hi frineds
       thank's in Advance.
       i want to fix Company Rows , so nobody can change potion or Add/Remove Rows  .

    Hello,
    did you try to define your rows into a structure ?
    In the Query Designer,: right click on title "Row" -> New structure.
    Then add your characteristic in this structure.

  • How to set a fixed row in ALV,that donot move with scroll bar?

    hi,expert.
        The 'fix_column'  can fixed column, but what is for row?
    thanks.

    Hi
    Nothing to fix a row
    Max

  • Fix rows and column in WAD

    Hi,
    Somebody now if I can fix the columns and rows with any function or Item in WAD version 7.0 ?
    Is there any how to ?
    Thanks.

    Hi dear Kams,
       I'm speaking about a report in which I have a lot of columns and rows, and I don´t want to move the first column or the first row. I need to immobilize them. Is like a function "freeze pane" in Microsoft Excel.  With this functionality I could see the ended column without lost the first column.
       I trying to do it in WAD version 7.0 but I don´t find this function in the Items. I would like to know is there any "how to" or item for this action ?.
       For example I have a report with the characteristic ACCOUNT and many Key Figures, I would like to move my scroll until Key Figure 4 and don´t lost the Account Column.
      I
    Account            Key Figure 1     Key Figure 2     Key Figure 3     Key Figure 4    
    10513422
    32546812
    54879632
    21548777
    21547855
    84579615
    54687951
    Thanks for your help !!

  • Fixing rows in Numbers

    Does anyone know if you can fix a row in numbers? What I mean is this:
    I have a table with titles along the top, I want these titles to remain at the top as I scroll dow the table, kinda like a frame in HTML.
    Is this possible?
    Kai

    Note that using a header row does not do what was asked for, which is to have the titles remain at the top as one scrolls down the table. (It does repeat the header row at the top of each page if that option is enabled, but that is not the same thing.)
    I believe the requested behavior is not available in the application.

Maybe you are looking for

  • Error while loading shared libraries: libclntsh.so.10.1

    Hi, I have installed R12 on Oracle EL 5. AT the end during system check details,the check "database availability" shows passed, but when I checked log it says the following error at one point. Executable : /apps/tools/oracle/VIS/apps/tech_st/10.1.2/b

  • Error capacity

    My ipod touch error capacity,I regularly connection with itunes and I regularly loss more capacity

  • Connecting two Macs to one router

    I just ordered a new iMac and would like to connect it and my old computer (eMac) to one router so that they share the same network.  Is this possible?  If so, Could you explain how to do this.  

  • Deadlock issue while sending data from PI to JDBC !!!

    Hi All, We are getting below error while sending data from PI to JDBC (Database). Error - JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'store_order_details' (stru

  • How to copy a table from one system to another system

    Hi all,         can any one say how to copy table from one system(sys1) to another system(sys2). regards, nagaraj