Table header cell dividers

Is there a way to have to make the cells divider lines in a table header be a custom thickness. with different thicknesses on different pages. I am thinking there is no way to do this inside of FM 8. And would that be changed in the read and write or the dtd.

Hi Frank,
There's a somewhat more complicated way that has some advantage if you don't mind the work. This solution is to place PDF images of the titles in the header cells as Background Fill Images. The main advantage over a grouped text box is that the background fill image will track the particular cell exactly, even if rows and columns are added or deleted or resized, including the one that the image is in.
Start with your title in a text box that "just fits".
Click off the box and then click once back on the box, such that the handles are showing but the text is not selected.
Command-C
Switch to Preview.app and Command-N. You now have converted your title to a PDF.
Still in Preview, Command-C to copy the PDF
Switch to Pages, Select the Cell, Command-V to set the PDF into the background.
Set the justification to centered, both vertically and horizontally for the best tracking.
As far as the rotation goes, you can rotate the Text Box before you convert it, or you can rotate the PDF before inserting into the cell. It doesn't matter.
Regards,
Jerry

Similar Messages

  • ADF pivot table header cell iteration

    Hi All,
    I am working on a program where I want to pass the header cells separated by "|" to the analysis server.
    for example:
    ||Fiscal|FPB|Projected Sales||KAV|Projected Sales||KCT|Projected Sales||KSA|Projected Sales||All Products|Projected Sales|
    This should be result of a pivot table where Fiscal is on column layout and crossjoin of Product(FPB, KAV,KCT, ALL) and Measure(Projected Sales) on row layout.
    Is it possible?
    Thanks.

    Hi,
    according to the documentation, this should not be the case. As you can see, the documentation explicitly calls toString() for the string representation: http://docs.oracle.com/cd/E28389_01/web.1111/b31973/dv_crosstab.htm#CHDGCBIG . You can narrow down the problem by using the default cell format and see what this returns
    Frank

  • In SSRS , after exporting report in excel,wrap text property for cell and freeze column for SSRS table header not working in Excel

    I am working no one SSRS my table headers are freeze cangrow property is false and my report is working perfect while rendering data on RDL and i want same report after exporting in Excel also , i want my table header to be freeze and wrap text property
    to work after exporting in my report in excel but its not working ,is there any solution ? any patch ? any other XML code for different rendering ? 

    Hi Amol,
    According to your description, you find the wrap text property and fix column is not working after exporting into Excel. Right?
    In Reporting Services, when exporting to excel file, it has limitation for textbox.
    Text boxes are rendered within one Excel cell. Font size, font face, decoration, and font style are the only formatting that is supported on individual text within an Excel cell.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    In this scenario, it supposed to be wrap text unless you merge cells. If cells are merged, word-wrap does not work correctly. If any merged cells exist on a row where a text box is rendered with the
    AutoSize property, autosize will not work. For the Fix Data Property, it can't be working in Excel. These are features when exporting to Excel. We can't change it because it's by design.
    Reference:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Quick way to assign table header IDs to data cells?

    Acrobat X (10.1.9)
    For accessibility of tables with complex headers, is there a quick way to assign header IDs to data cells associated with them?  I haven't found any faster way than going one cell at a time.
    All tags already have an ID, this question is how to quickly assign IDs of the header cells to all data cells in a row or column.
    Even better, is there a feature or plug-in that looks at a table's column and row spanning, and automatically assigns headers to all data cells?
    I've used Table Inspector in Acrobat, and a several-years-old version of the CommonLook plug-in. Both of these allow you to set various properties to all cells in a selection. And they act like they happily set header IDs for multiple cells, but after clicking OK and looking at cell properties, TI doesn't set it for any of them, and CL only sets it for the first cell that was selected.
    I prepare PDFs of scientific reports for Section 508 compliance. Often they are hundreds of pages long and have scores of large tables. Some clients insist on complex headers. Going cell by cell is astonishingly time-consuming.

    Hi Danny,
    The table editor in Acrobat XI is improved in some respects over X but still behaves exactly as you describe on table IDs – it pretends to allow IDs to be set for multiple cells but they do not stick.
    You may want to evaluate the current CommonLook. It reportedly excels at tagging complex tables. I evaluated it quite some time ago and was underwhelmed, but I understand it has improved.
    You might also be able to cheat a bit on some tables, using alt text (see raeben3’s post here http://forums.adobe.com/thread/1188165) or adding blank cells to the table tag structure to “regularize” the table. In other cases you may be able to deviate from the visual table representation and tag the content as a series of sub-headings and smaller, regular tables or lists. In some cases you will have to bite the bullet and use spanning properties and header IDs.
    Hope this helps.
    a 'C' student

  • Is there any way to create table inside cell in sapui5??

    Hello experts,
    How do we create table inside cell in ui5??
    something like this::
    Market Activities
    Other Activities
    Header 1
    Header 2
    Header 1
    Header 2
    Header 3
    Header 1
    Header 2
    Header 3
    Then how do we go about binding??
    Thank you,
    Best Regards
    Chetna

    This code is actually for simple table which i have created:
    var dvrData = [
                                   {DealerNo:"",checkedOrd:{checked:false,enabled:false},checkedOrd1:{checked:false,enabled:false},checkedColl:  {checked:false,enabled:false},checkedPromos:{checked :false,enabled:false},
    var newDvrTable = new sap.ui.table.Table({
                         id:"newDvrTableId",
                         visibleRowCount: 1,
                        selectionMode: sap.ui.table.SelectionMode.Single
    //following field comes unser first column (with blank label)
    newDvrTable.addColumn(new sap.ui.table.Column({
    label: new sap.ui.commons.Label({text: " Dealer Code", wrapping : true}),
                         template: new NewTextField({
                               id:"dlrNum",
                               value: "{DealerNo}" ,
    // following columns come under "MARKET ACTIVITIES"
      newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "SHOP ACTIVITY",
                         label: new sap.ui.commons.Label({id:"shopId",text: "SHOP",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                      enabled: "{checkedOrd/enabled}",
                                      checked:"{checkedOrd/checked}",
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "Order Related ACTIVITY",
                         label: new sap.ui.commons.Label({id:"shopId",text: "ORDER",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                      enabled: "{checkedOrd1/enabled}",
                                      checked:"{checkedOrd1/checked}",
    //Following two columns must come under Other Activities Column
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "CHEQUE COLLECTION",
                         label: new sap.ui.commons.Label({id:"shopId",text: "COLLECTION",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                         enabled: "{checkedColl/enabled}",
                                           checked:"{checkedColl/checked}",
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "SCHEME UPDATE",
                         label: new sap.ui.commons.Label({id:"shopId",text: "SCHEME UPDATE",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
    enabled: "{checkedPromos/enabled}",
                                      checked:"{checkedPromos/checked}",
      var oModel = new sap.ui.model.json.JSONModel();
                  oModel.setData(dvrData);
    var newdata = oModel.getData();
    sap.ui.getCore().setModel(oModel,"newDvr");
                  newDvrTable.setModel(oModel);
                  newDvrTable.bindRows("/");
    Thank you,
    Best Regards,
    Chetna

  • Insert a new Dropdown UI-Element in a Table header

    Hello,
    i need to insert a Dropdown UI-element in a Table header, i was looking in the forum and the Web, BUT i didnt find anythinf that can help.
    please schow me how can I insert a DropDown UI-Element in the Header.
    thank you all

    Hello,
    You can normally create a table. Insert a table column and for the table column you need to give Dorpdown by Key / index as a cell editor.
    Thanks,
    Raju Bonagiri

  • How can I right-align a table header?

    Does anyone know a way to right-align a table header?
    For example, in the table below I want the word 'Price' to be right-aligned. I could set the table's 'header renderer' to be a right-aligned DefaultTableCellRenderer, but then the header would look like a cell, not a header. Why can't swing be simple, like table.getColumn(1).setAlignment(Column.RIGHT) ????
    public class TestTableHeader {
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] { { "General Electric", "$100.60" },
                        { "IBM", "$5.20" }, { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
              renderer.setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
              table.getColumnModel().getColumn(1).setCellRenderer(renderer);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
    }

    I modified your code an came up with a solution to the problem.
    import java.awt.Component;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableCellRenderer;
    public class TestTableHeader {     
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] {
                        { "General Electric", "$100.60" }, { "IBM", "$5.20" },
                        { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              RightAlignRender right = new TestTableHeader().new RightAlignRender();
              table.getColumnModel().getColumn(0).setHeaderRenderer(right);
              table.getColumnModel().getColumn(1).setHeaderRenderer(right);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
         public class RightAlignRender extends DefaultTableCellRenderer {
              public Component getTableCellRendererComponent(JTable table,
                        Object arg1, boolean arg2, boolean arg3, int arg4, int column) {
                   Component toReturn = table.getTableHeader().getDefaultRenderer().getTableCellRendererComponent(table,
                             arg1, arg2, arg3, arg4, column);
                   switch (column) {
                   case 0:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.CENTER);
                        break;
                   case 1:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
                        break;
                   return toReturn;
    }

  • Image in a table-header

    Hello,
    I don't know why but I cannot place an image in one specific table-header.
    It works fine in my table-cells but in the table-header only the text appears.
    I thought i could place an image in a header, just like a text-string but that is not possible.
    Does anyone know how to handle that problem???
    Thank you so much

    Hi,
    either you use table.getTableHeader().setDefaultRenderer(yourRenderer) to set one renderer for all columns or you use table.getColumnModel().getColumn(index).setHeaderRenderer(yourRenderer) to set a renderer for individual columns.

  • Word wrapping in row header cell in OLAPDataGrid

    I have an issue with the OLAPDatagrid. Does anyone know how
    to wrap text in the row header cells?
    (to avoid confusion, i will demonstrate my issue using a grid
    with 1 row and 1 column dimension).
    OLAPDataGrid has 2 properties: wordWrap, which only seems to
    affect the data cells, and headerWordWrap which only appears to
    affect the dimension data across the topmost row.
    However, neither of these properties appear to allow the row
    dimensions' data to wrap (this is the data in the leftmost column).
    Not only this, the column does not automatically resize to reveal
    the data.
    I also can't see how to manually modify the width of the
    columns as at the point when the olapdatagrid's dataprovider is
    assigned to the olapresult, the column count is zero.
    any suggestions?
    thanks
    Mark

    //i tryied this it is not working
    //its selecting the first colum first row and when i clicked the second row header it is selecting the second //column seconf row.
    //And pressing Ctrl [key] and click row header is not working.
    what do u mean by Second row header. For a Table we wil be having only one header na

  • JTable with custom column model and table model not showing table header

    Hello,
    I am creating a JTable with a custom table model and a custom column model. However the table header is not being displayed (yes, it is in a JScrollPane). I've shrunk the problem down into a single compileable example:
    Thanks for your help.
    import javax.swing.*;
    import javax.swing.table.*;
    public class Test1 extends JFrame
         public static void main(String args[])
              JTable table;
              TableColumnModel colModel=createTestColumnModel();
              TestTableModel tableModel=new TestTableModel();
              Test1 frame=new Test1();
              table=new JTable(tableModel, colModel);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(200,200);
              frame.setVisible(true);
         private static DefaultTableColumnModel createTestColumnModel()
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
              columnModel.addColumn(new TableColumn(0));
              return columnModel;
         static class TestTableModel extends AbstractTableModel
              public int getColumnCount()
                   return 1;
              public Class<?> getColumnClass(int columnIndex)
                   return String.class;
              public String getColumnName(int column)
                   return "col";
              public int getRowCount()
                   return 1;
              public Object getValueAt(int row, int col)
                   return "test";
              public void setValueAt(Object aValue, int rowIndex, int columnIndex)
    }Edited by: 802416 on 14-Oct-2010 04:29
    added                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Kleopatra wrote:
    jduprez wrote:
    See http://download.oracle.com/javase/6/docs/api/javax/swing/table/TableColumn.html#setHeaderValue(java.lang.Object)
    When the TableColumn is created, the default headerValue  is null
    So, the header ends up rendered as an empty label (probably of size 0 if the JTable computes its header size based on the renderer's preferred size).nitpicking (can't resist - the alternative is a cleanup round in some not so nice code I produced recently <g>):
    - it's not the JTable's business to compute its headers size (and it doesn't, the header's the culprit.) *> - the header should never come up with a zero (or near-to) height: even if there is no title shown, it's still needed as grab to resize/move the columns. So I would consider this sizing behaviour a bug.*
    - furthermore, the "really zero" height is a longstanding issue with MetalBorder.TableHeaderBorder (other LAFs size with the top/bottom of their default header cell border) which extends AbstractBorder incorrectly. That's easy to do because AbstractBorder itself is badly implemented
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6459419
    Thanks for the opportunity to have some fun :-)
    JeanetteNo problem, thanks for the insight :)

  • TableView - different background color of header cell

    Hello,
    I'd like to render table view with header cell of certain background color.
    I think I can use <i> IHeaderCellRenderer </i> but I can't find out how to set background color from javadoc.
    Best regards,
    Josef Motl

    Try using something like:
    tableView.setStyleForCell(i, column, TableCellStyle.SUBTOTAL);
    Best regards
    Francisco

  • How to keep a table "header" stuck at top of each page

    Okay. This will probably be impossible to explain, but here goes.
    I have a document template that consists of a table (4 columns and variable number of rows depending on the content).
    I would like the columns to have their "headers" (meaning here the first row) appear on each page. So, as the first page gets filled up, when page 2 appears, the headers are duplicated from page one (so that the contents of the columns are evident on each page).
    Hope that makes sense. Can this be done with pages? (I can't use the regular page header for this since it's got different info that needs to be there.
    Thanks.

    I was just fooling around with a table trying to solve a different problem when I came up with a different solution to your question (assuming I understood what you wanted).
    In the Wrap Inspector choose Moves with Text and your table will continue to successive pages. (If you want to center the table, or position it anywhere other than all the way left, click on the table and grab the little triangle in the Ruler and drag it to the right to move the table.)
    If you don't already have the "Header Row" box checked, do so now. (In the Table Inspector.) Any text in the Header cells will repeat on each page just like a regular page header.
    If you don't want the default gray, highlight the Header and go to the Object Inspector and in the Fill menu select None or any color you like. You can even select each header cell separately and make each one a different color.
    Happy Paging,
    Walt

  • JCheckBox in table header

    Hi,
    I have a JTable, and I would like to put a JCheckBox in one of the columns table headers. I have searched the forums, and I believe I need to have an editor and renderer (i think)...and I have seen links that ref. examples (such as http://www2.gol.com/users/tame/swing/examples/JTableExamples9.html but they don't work anymore.
    can someone help explain how I would put a checkbox in the header? I understand the renderers and editors (for the most part)...but how do i put them on table header??
    thanks

    Here is what I have now....but if i click semi-quickly on the column header...its like it doesn't catch the event in time. I can click on a regular checkbox as fast as I want, and it obviously catches my clicks..b/c i can see it check/uncheck over and over. Is there some way to make this work better, act smoother?
    public class MyCheckBoxHeader extends JCheckBox implements TableCellRenderer, MouseListener {
        private boolean mouseClicked;
        private int currentColumn;
        public MyCheckBoxHeader(JTable table) {
            setHorizontalAlignment(SwingConstants.CENTER);
            JTableHeader tableHeader = table.getTableHeader();
            setBackground(tableHeader.getBackground());
            setForeground(tableHeader.getForeground());
            tableHeader.addMouseListener(this);
        /* (non-Javadoc)
         * @see javax.swing.table.TableCellRenderer#getTableCellRendererComponent(javax.swing.JTable, java.lang.Object, boolean, boolean, int, int)
        public Component getTableCellRendererComponent(
                JTable table,
                Object value,
                boolean isSelected,
                boolean hasFocus,
                int row,
                int column) {
            currentColumn = column;
            return this;
         * Had to implement this so the cell would have the same border
         * as the rest of the JTableHeader cells
        /* (non-Javadoc)
         * @see javax.swing.JComponent#paintBorder(java.awt.Graphics)
        protected void paintBorder(Graphics g) {
            g.setColor(Color.WHITE);
            // top
            g.drawLine(0, 0, getWidth(), 0);
            // left
            g.drawLine(0, 0, 0, getHeight());
            g.setColor(Color.BLACK);
            // right
            g.fillRect(getWidth() - 1, 0, 2, getHeight());
            // bottom
            g.fillRect(0, getHeight() - 1, getWidth(), getHeight());
         * Calls doClick(), because the CheckBox doesn't receive any
         * mouseevents itself. (because it is in a CellRendererPane).
       protected void handleClickEvent(MouseEvent e) {
           JTableHeader header = (JTableHeader)(e.getSource());
           JTable tableView = header.getTable();
           TableColumnModel columnModel = tableView.getColumnModel();
           int viewColumn = columnModel.getColumnIndexAtX(e.getX());
           int column = tableView.convertColumnIndexToModel(viewColumn);
           if (viewColumn == currentColumn && e.getClickCount() == 1) {
               doClick();
               repaint();
               int rowCount = tableView.getRowCount();
               for (int i = 0; i < rowCount; i++) {
                   tableView.getModel().setValueAt(new Boolean(isSelected()), i, 0);
       public void mouseClicked(MouseEvent e) {
           handleClickEvent(e);
           // repaint the header to make sure the check is shown in the checkbox
           ((JTableHeader)e.getSource()).revalidate();
       public void mousePressed(MouseEvent e) {
       public void mouseReleased(MouseEvent e) {
       public void mouseEntered(MouseEvent e) {
           setCursor(Cursor.getDefaultCursor());
       public void mouseExited(MouseEvent e) {
    }any suggestions would be helpful...thanks

  • Table header fixed

    hi
    i have a table with n colums.
    i would fix the table header so that are the header always visible.
    have anybody a idea how can i do this?
    best regads
    Thomas

    Thomas,
    Please explain your term "fixed header". Standard headers of WD Table are already fixed -- they are not scrolled when rows scrolled. Or you want to "fix" them somehow for horizontal (rather then vertial) scrolling?
    Moreover, there are Fixed Cells in NW04s, so you may create fixed rows from "regular" rows of table data source.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Extracting text from header cells

    Hi all,
    Can someone help me with extracting the text from a header cell?
    I know that for a standard cell I can use the T() function, but this seems not to wok for the column or row headers of a table.
    Thanks,
    Ziv

    Yes, I am stuck with the same problem.... any ideas out there?
    thanks

Maybe you are looking for

  • If you need to FTP with PL/SQL...

    If you need to perform FTP from within PL/SQL and your database version has the UTL_TCP package, here is a free package you can use. The source code is hopefully documented well enough for you to tell what's going on and how to use the functions. Sug

  • Opening a new window in CDC/AGUI?

    Hi, I am working in CDC/AGUI application. I have created a JFrame with a menu. I am trying to open a new InternalFrame window from menu , but which is not visible. This is the code what i have used. Please help me out why it is happening?. I am using

  • Maximum length of a prompt which can be recorded in UCCX ver 8.5?

    I have a customer who would like to be able to record company announcements via a script in UCCX and have it saved as a prompt.  Is there a time limit on the length of a prompt which can be recorded?  

  • Master Previews disappear in Browser

    Hi All Recently when I import files (RAW) and then edit to create a new version, the new version Preview displays..but the Master preview is just a blank box. I can still view the master in Full Screen, and still edit it to create new versions...but

  • Im sorry Verizon, but this is messed up

    It is bad enough that you have to upload pictures from your phone 1 by 1 via uplink, (years ago you could just plug the phone into your computer. What happened?), now I can't even save my videos to my computer without purchasing quicktime? And I have