Table cell shifting issue

Getting a wierd within-cell selection indicator shift effect when using tables in LV 2013(32) on Win 7 (64).   Hestitate to call it a "scroll" 'cause that has other meanings in the table context.
Click on the letters in the attached VI to see it -- same effects if the table is in a running VI or not.
          + clicking on "A" does nothing.  Deleting "A" causes the cell to shift.
          + clicking on any of the cells below "A" act like the above
          + clicking on header cell "x" causes a big sideways shift.  Putting other values in the cell has other effects (some shift a lot, some not at all)
          + clicking on table cell "y" causes a big sideways shift.  Putting other values in the cell has other effects (some shift a lot, some not at all)
          + clicking on table cell "z" does not shift.  Deleting "z" causes a big sideways shift
          + I noticed the shift that happens when you delete "A" stops at the same horizontal location as if you 
Observations:
          + Appears to be tied to cell's justify=center. 
          + Shifting is always is right-to-left.
          + I noticed the shift that happens when you delete "A" stops at the same horizontal location as if you click on "y"
          + occurs on at least two different machines from different mfg's.  Both running 2013-32 on Win7-64.
Solved!
Go to Solution.
Attachments:
table_issue.vi ‏8 KB

That's it!  Thanks for tying up a loose end on an old thread.
With this information I was able to recreate this in LV2014-32 on Win7-64 so it's still a bug. 
The key is the table has to span quadrant 3&4 of the front panel. 
Drop a table control with (left,top)=(-108,185) for instance and (width,height)=(250,169).  Select the entire table and set justification=center.  The first column whose center is to the right of the front panel's "y axis" will have centering issues.  Move the table off the y axis and the issue goes away.  Move it back and issue comes back.
Having left or right justified prevents the issue but this is a Band-aid, not a fix, and was not applicable in my case as my UI needed centered text or it would look funny.  I was using the table to display info and allowing the user to click on a cell to select it, at which point I would change the color via property node.  My workaround was to change control focus immediately after the mouse click to minimize the time the drifting cell was noticeable. 

Similar Messages

  • Table cells shift

    When I look at my page in Dreamweaver, the cells at the top
    of the page of my table are about 248 pixels in width, but when the
    page appears on the web, they are out of alignment. I wish I could
    lock each table cell so it will not shift.
    Here is my website:
    http://www.troyrecreation.org/
    The cells that have shifted are the image of the woman doing
    Pilates, the cell with text to the left, below and below left. It
    is a table with 4 cells.
    Any help would be appreciated.
    Thanks,
    Dan

    Does changing the table cell code the pilates2 image is in
    to:
    <td width="247" align="center" valign="top"><img
    src="pilates2.jpg"
    width="247" height="185"></td>
    fix it?
    Take care,
    Tim
    "troyrecreation" <[email protected]> wrote
    in message
    news:fpl04j$h47$[email protected]..
    > When I look at my page in Dreamweaver, the cells at the
    top of the page of
    > my
    > table are about 248 pixels in width, but when the page
    appears on the web,
    > they
    > are out of alignment. I wish I could lock each table
    cell so it will not
    > shift.
    >
    > Here is my website:
    >
    http://www.troyrecreation.org/
    >
    > The cells that have shifted are the image of the woman
    doing Pilates, the
    > cell
    > with text to the left, below and below left. It is a
    table with 4 cells.
    >
    > Any help would be appreciated.
    >
    > Thanks,
    > Dan
    >

  • Multi line issue in Table Cell Editor

    Hi,
    I am developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1. In one of the view, I have a table which display items information from the data source. In one of the column I need to display item description so I used TextEdit in the Cell Editor to display the information in multi line format and also wrapping is enabled.
    But during testing of the application the TextEdit control does not wraps the text and as well as only first line of TextEdit control is visible inside the table and rest of the rows are not visible because of table's row height is not adjusted to the TextEdit control. I couldn't find any option to vary the size of the row height of the table.
    Please suggest a solution to bring multi line display with in the table.
    Also, check out my other issue posted here.
    [Issue in wrapping of text in TextEdit control|Issue in wrapping of text in TextEdit control]
    Thanks in advance.
    Regards,
    DVR.
    Edited by: Vinodh Raj D on May 28, 2009 8:18 AM

    Hi Vinodh,
                   Mutliline text in a text view/edit control inside a table cell is not supported.
    You can view multiline text in a text view/edit as a seperate control inside a view. I think in case you want to see the whole address you can create a detail(s) view which can be navigated from the list (table) view.
    Regards,
    Nipun

  • Small issue with custom table cell editor and unwanted table row selection

    I'm using a custom table cell editor to display a JTree. Thing i notice is that when i select a value in the tree pop-up, the pop-up closes (as it should) but then every table row, from the editing row to the row behind the pop-up when i selected the value becomes highlighted. I'm thinking this is a focus issue, but it thought i took care of that. To clairfy, look at this: Before . Notice how the "Straightening" tree item is roughly above the "Stock Thickness" table row? When i select Straightening, this is what happens to my table: After .
    My TreeComboBox component:
    public class TreeComboBox extends JPanel implements MouseListener {
        private JTextField itemField;
        private TreeModel treeModel;
        private ArrayList<ActionListener> actionListeners = new ArrayList<ActionListener>();
        private Object selectedItem;
         * Creates a new <code>TreeComboBox</code> instance.
         * @param treeModel the tree model to be used in the drop-down selector.
        public TreeComboBox(TreeModel treeModel) {
            this(treeModel, null);
         * Creates a new <code>TreeComboBox</code> instance.
         * @param treeModel the tree model to be used in the drop-down selector.
         * @param selectedItem tree will expand and highlight this item.
        public TreeComboBox(TreeModel treeModel, Object selectedItem) {
            this.treeModel = treeModel;
            this.selectedItem = selectedItem;
            initComponents();
         * Returns the current drop-down tree model.
         * @return the current <code>TreeModel</code> instance.
        public TreeModel getTreeModel() {
            return treeModel;
         * Sets the tree model.
         * @param treeModel a <code>TreeModel</code> instance.
        public void setTreeModel(TreeModel treeModel) {
            this.treeModel = treeModel;
         * Returns the selected item from the drop-down selector.
         * @return the selected tree object.
        public Object getSelectedItem() {
            return selectedItem;
         * Sets the selected item in the drop-down selector.
         * @param selectedItem tree will expand and highlight this item.
        public void setSelectedItem(Object selectedItem) {
            this.selectedItem = selectedItem;
            String text = selectedItem != null ? selectedItem.toString() : "";
            itemField.setText(text);
            setToolTipText(text);
         * Overridden to enable/disable all child components.
         * @param enabled flat to enable or disable this component.
        public void setEnabled(boolean enabled) {
            itemField.setEnabled(enabled);
            super.setEnabled(enabled);
        public void addActionListener(ActionListener listener) {
            actionListeners.add(listener);
        public void removeActionListener(ActionListener listener) {
            actionListeners.remove(listener);
        // MouseListener implementation
        public void mouseClicked(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
        public void mouseExited(MouseEvent e) {
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
            showPopup();
        private void initComponents() {
            setLayout(new GridBagLayout());
            itemField = new JTextField();
            itemField.setEditable(false);
            itemField.setText(selectedItem != null ? selectedItem.toString() : "");
            itemField.addMouseListener(this);
            add(itemField, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0,
                    GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
        private void showPopup() {
            final TreePopup popup = new TreePopup();
            final TreeComboBox tcb = this;
            final int x = itemField.getX();
            final int y = itemField.getY() + itemField.getHeight();
            int width = itemField.getWidth() + popupButton.getWidth();
            Dimension prefSize = popup.getPreferredSize();
            prefSize.width = width;
            popup.setPreferredSize(prefSize);
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    popup.show(tcb, x, y);
                    popup.requestFocusInWindow();
        private void fireActionPerformed() {
            ActionEvent e = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "TreeComboBoxSelection");
            for (ActionListener listener : actionListeners) {
                listener.actionPerformed(e);
        private class TreePopup extends JPopupMenu {
            private JTree tree;
            private JScrollPane scrollPane;
            public TreePopup() {
                initComponents();
                initData();
            private void initData() {
                if (treeModel != null) {
                    tree.setModel(treeModel);
            private void initComponents() {
                setFocusable(true);
                setFocusCycleRoot(true);
                tree = new JTree();
                tree.setRootVisible(false);
                tree.setShowsRootHandles(true);
                tree.setFocusable(true);
                tree.setFocusCycleRoot(true);
                tree.addTreeSelectionListener(new TreeSelectionListener() {
                    public void valueChanged(TreeSelectionEvent e) {
                        tree_valueChanged(e);
                scrollPane = new JScrollPane(tree);
                add(scrollPane);
            private void tree_valueChanged(TreeSelectionEvent e) {
                DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent();
                setSelectedItem(node.getUserObject());
                fireActionPerformed();
                this.setVisible(false);
    }My TreeComboBoxTableCellEditor:
    public class TreeComboBoxTableCellEditor extends AbstractCellEditor implements TableCellEditor, ActionListener {
        protected TreeComboBox treeComboBox;
        protected ArrayList<CellEditorListener> cellEditorListeners = new ArrayList<CellEditorListener>();
        public TreeComboBoxTableCellEditor(TreeComboBox treeComboBox) {
            this.treeComboBox = treeComboBox;
            treeComboBox.addActionListener(this);
        public Object getCellEditorValue() {
            return treeComboBox.getSelectedItem();
        public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
            treeComboBox.setSelectedItem(value);
            return treeComboBox;
        public void actionPerformed(ActionEvent e) {
            stopCellEditing();
    }Any thoughts?
    Edited by: MiseryMachine on Apr 3, 2008 1:21 PM
    Edited by: MiseryMachine on Apr 3, 2008 1:27 PM

    As I said, you have to have empty context elements before additional rows will be open for input.
    For instance if you want to start with 5 rows available for input do the following to your internal table that you will bind:
    data itab type standard table of sflight.
    do 5 times.
      append initial line to itab.
    enddo.
    context_node->bind_table( itab ).
    The other option if you need n number of rows is to add a button to the table toolbar for adding more rows. When this button is pressed, you add a new context element to the node - thereby creating a new empty row in the table.

  • Line Binding with table Cell issue

    Hello,
    In my application I need to map data from one table to another table. please see snap from below link
    http://www.pixhost.org/show/3449/12902612_column-linking.png
    if you see the snap you will come to know that I have Map Name "Pankti" from Left Table to Name "Isabella" from right Table.
    I have used my custom tableView Control.
    I have Bind Line cordinates as below
    line.startXProperty().bind(lefttb.widthProperty().add(lefttb.layoutXProperty()));
    line.startYProperty().bind(lefttb.lastcell.getTableRow().layoutYProperty().add(lefttb.lastcell.getTableRow().heightProperty().add(lefttb.lastcell.getTableRow().heightProperty().add(-12))));
    line.endXProperty().bind(righttb.layoutXProperty());
    line.endYProperty().bind(righttb.lastcell.getTableRow().layoutYProperty().add(righttb.lastcell.getTableRow().heightProperty().add(righttb.lastcell.getTableRow().heightProperty().add( -12))));
    Here lefftb = LeftTableView
    righttb = RightTableView
    lastcell is a selected cell of tableview
    I have added these control in Group Container.
    MyProblem is :
    When I scroll in any tableview then the relationship between data are lost and Line had start showing wrong relationship.
    in above example if i scrolled RightTableview then see the result from Below Links
    http://www.pixhost.org/show/3800/12903076_column-map1.png
    http://www.pixhost.org/show/3800/12903157_column-map2.png
    http://www.pixhost.org/show/1297/12903283_column-map3.png
    So what should i do so that my Line always show correct relationship??
    Please download my sample code from
    http://www.freefilehosting.net/columnmapsample
    or
    http://www.filefactory.com/file/4w3dpn0l27rj/n/ColumnMapSample.rar
    Thank You,
    Ronak

    Hi Roank ,
    I think your approach of mapping the table using TableCell is not correct because the tablecell is updated everytime you scroll,click and other events. Although I can't give you full guide but the algorithm must be something like this:
    + Use the index of table cell or item Object instead of using the tableCell.
    + The index of cell is get from cell.getIndex();
    Implementation
    + If the mapping is to be done then you must first save the index of two table in a Map<integer,integer> .
    + Now update the line of mapping only if the index matches in the cellfactory (during update of the table cell).
      Otherwise the line x,y must be set to the last known x,y position of that tablerow indexI think this way the things goes correctly. One thing to remember that tablecell is always updated.
    Thanks
    Narayan

  • Mail.app: text in table cells in incoming formatted mail - problems replying

    MacOS 10.9.2
    mail.app  7.2, threading enabled
    Sometimes I receive a formatted email that is really difficult to reply to, when I want to intersperse my reply text among the incoming paragraphs.
    The trouble occurs when multiple incoming paragraphs are grouped. I can’t open up vertical space for my reply  text inside the groups. 
    If I click anywhere in the group, mail.app marks the group with a surrounding rounded-corner grey rectangle, with a X-in-a-circle “close icon” at the upper left corner. 
    When I look at the raw source of the incoming message, I see that the groups correspond to table cells, that is, the sending mail client enclosed the paragraphs within a <td> … </td> pair.
    The sending email client is sending me a table, for no clear reason — the group doesn’t correspond to anything obvious in the message thread.
    I’m guessing we won’t ever know why some email clients group paragraphs like this, but I’d like to do my best to adapt, so I can keep up with my incoming email. 
    Yeah, I can ask my correspondents to use a different email client, or perhaps different settings in the same client, but except for the few tekkies among my correspondents, this isn’t really practical.  I can also ask my clients to use unformatted messages, but THAT is a whole different issue, and frequently isn’t practical, either.
    My questions:
    Q1:  What’s the point of the grey rectangle and the  “close icon”?    (Is this mail.app’s way of saying, “I received this crazy formatting, almost impossible to process, so I’m making it easy for you to just delete the whole mess”?  Or what?)
    Q2:  Is there any SIMPLE way to untangle (modify or remove) these groupings within mail.app?  (I guess I can access the raw html, copy-and-paste it into another app, modify it, and paste the results back into my reply.  Yuck!)
    Q3: Am I missing a really obvious work-around or fix?
    TIA

    In your question, you indicated that you are running Firefox 8. Is that correct? It might be difficult to diagnose issues with that version because most people have moved on to Firefox 12 (plus or minus 1 version). Can you upgrade?
    It's hard to think of a reason that ordinary text or links in ordinary text would not display. For embedded images or videos, one possibility is a difference in the protocol, i.e., HTTP (not secure) versus HTTPS (secure).
    Hopefully someone else will have a better guess (or actual knowledge!).
    Regarding the blue lines in a message, that usually indicates the earlier message was forwarded a few times. I don't know whether Gmail will let you reformat that area or whether you have to clean it in another application (e.g., for plain text, in Notepad) and paste it back in.

  • Scaling of images in a table cell

    Hi,
    I have an issue aboute the scaling of images in a table cell. The table layout is fixed but the images can vary. I tried to transform the images but every time the transformation matrix has a scaling != 1.0 the function results in an error.
    The following code is used.
    PageItem pi = myCell.getNthChildPageItem(0);
    TransformationMatrix[] matrix = pi.transformValuesOf(kCoordinateSpacesInnerCoordinates.value);
    TransformationMatrix scalemat = matrix[0].scaleMatrix(OptArg.makeDouble(0.5), OptArg.makeDouble(0.5));
    Unit[] matValues = UnitUtils.createDouble(scalemat.getMatrixValues());
    pi.transform(
    enums.kCoordinateSpacesInnerCoordinates.value,
    VariableTypeUtils.createEnumeration(enums.kAnchorPointCenterAnchor.value),
    VariableTypeUtils.createUnitList(matValues),
    OptArg.makeVariableType(VariableTypeUtils.createEnumeration( enums.kMatrixContentScaleValues.value ) ),
    OptArg.noBoolean()
    Any suggestions?
    Regards,
    tom

    Hi!
    You may try to vary the settings for property "type"
    navigation
    function
    reporting
    result
    If this does not help to solve your issue open a ticket at SAP Support.
    There are several UIElements which show such a behaviour and you have no (documented) chance to change this.
    Hope this helps.
    Regards,
    Volker

  • InDesign CS6 Font doesn't work in table cells

    Hi all!
    I'm working in InDesign CS6 on Mac OS 10.6 Leopard.  I have character and paragraph styles defined using a certain font, and they work just fine except when using them in table cells.  I have the character style nested in the paragraph style, which is then used in the cell style.  But it doesn't work.  It inherits everything correctly except for the font.  If I select the text, the font menu tells me it is the correct font, but it displays in a different font.  I've tried exporting to IDML and resaving, but that didn't work.  I'm stumped

    Hi Jeffrey-
    Indeed it should, and I see why using a formatted table would cause conflicts, but I am importing it as an unformatted table already.  Built all styles in InDesign first, then imported as unformatted table.  A few times it did work as expected, but most of the time it steadfastly refused to apply the correct font.
    But in any case, that wasn't my only issue with the tables.  My understanding of importing Excel spreadsheets is that applied table and cell styles will be maintained when the linked file is updated, but local formatting/overrides will be wiped out, which is why I was trying to get the styles working in the first place.  However, after testing, I found that even when I didn't use local formatting/overrides, updating the linked file still broke my InDesign layout.
    In my test, the only thing I did to the imported (unformatted) table was to apply the table/cell styles and adjust column width (which is unavoidable as far as I know - didn't see anywhere I could set column width as part of a style).  But even then an update to the linked file removed all the styles and column widths I had set (and was also highly annoying as it gave me a separate error message about the formatting loss for each and every instance of the spreadsheet).
    Could be a fluke, or could be I'm missing something, but for whatever reason, I just couldn't get it to work

  • How to apply different CSS styles to different table cells?

    I have an h:dataTable table and I would like to apply different CSS styles to different table cells depending on their content. If I were doing JSP I would probably have a <c:if> test on the cells, and give them a style name depending on contents, and then define the styles in a separate style sheet. Is there a way in JSF to do the equivalent? Thanks.

    mitchgart wrote:
    BalusC wrote:
    How to achieve a cell-specific style is already answered in my 1st reply of this topic.That tells how to apply a style to the text (or other content) inside a cell but not how to apply a style to the <td> as a whole. It would work for something like text font or text color but not cell border.
    I'm thinking I can mark the content somehow and then have javascript traverse the DOM, find marked content, and traverse outward to the enclosing <td>. Is there a better way?BalusC already spoke about rowClasses and columnClass attributes, I assume those are insufficient.
    The Tomahawk dataTable component has the rowStyleClass and rowStyle attributes for assigning CSS to the HTML tr tag. One is allowed to reference the row data variable when assigning values to these. However, see https://issues.apache.org/jira/browse/TOMAHAWK-523 for workarounds to bugs in some implementations.
    The Tomahawk column component has the styleClass and style attributes for assigning CSS to the HTML td tag. These also may reference the row data variable.

  • Table cell flashing

    Hi,
    Before I start to hack away a solution that might not be fx-like, I'd like to get your expert opinion about implementing cell flashing for a table view.
    I have done this several times in Swing (using a timer, a customer renderer, switching the bg/fg colors 3 times, and firing up an even table cell update), but how do implement this feature in JavaFX?
    * The table cell renderer (override def call (...)) could be used
    * The bg/fg color switch can be done using different css styles
    * what would be the best way to implement the timer and ask the view to "repaint" a specific cell?
    Thx v much

    Below is a bit of code that does something like what you want (the port to groovy should be easy). It may need some testing/tweaking for a real scenario and I'm not sure just how many animated cells you could have going at a time before performance becomes an issue (maybe someone from the JFX team could comment on this?).
    Also, regarding the use of styles for animating the change, you should be aware of this: Removing CSS style classes?
    Basically you need to make sure your 'default' style has values set for everything your 'highlight' style messes with, otherwise the highlight won't get turned off.
    import javafx.animation.FadeTransition;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.TableCell;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    import javafx.util.Duration;
    public class TestApp extends Application
        public static void main(String[] args)
            Application.launch(args);
        @Override
        public void start(Stage stage) throws Exception
            BorderPane root = new BorderPane();
            TableView<Person> table = new TableView<Person>();
            table.getItems().addAll(
                    new Person("Cathy", "Freeman"),
                    new Person("Albert", "Namatjira"),
                    new Person("Noel", "Pearson"),
                    new Person("Oodgeroo", "Nooncal")
            TableColumn<Person, String> firstNameCol = new TableColumn<Person, String>("First Name");
            firstNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("firstName")
            table.getColumns().add(firstNameCol);
            TableColumn<Person, String> lastNameCol = new TableColumn<Person, String>("Last Name");
            lastNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("lastName")
            lastNameCol.setCellFactory(new Callback<TableColumn<Person, String>, TableCell<Person, String>>()
                public TableCell<Person, String> call(TableColumn<Person, String> column)
                    final FlashingLabel label = new FlashingLabel();
                    label.setStyle("-fx-background-color: #ffaaaa");
                    TableCell<Person, String> cell = new TableCell<Person, String>()
                        protected void updateItem(String value, boolean empty)
                            super.updateItem(value, empty);
                            label.setText(value);
                            label.setVisible(!empty);
                    cell.setGraphic(label);
                    return cell;
            table.getColumns().add(lastNameCol);
            root.setCenter(table);
            Scene scene = new Scene(root, 800, 600);
            scene.getStylesheets().add("styles.css");
            stage.setScene(scene);
            stage.show();
        public class FlashingLabel extends Label
            private FadeTransition animation;
            public FlashingLabel()
                animation = new FadeTransition(Duration.millis(1000), this);
                animation.setFromValue(1.0);
                animation.setToValue(0);
                animation.setCycleCount(Timeline.INDEFINITE);
                animation.setAutoReverse(true);
                animation.play();
                visibleProperty().addListener(new ChangeListener<Boolean>()
                    public void changed(ObservableValue<? extends Boolean> source, Boolean oldValue, Boolean newValue)
                        if (newValue)
                            animation.playFromStart();
                        else
                            animation.stop();
        public class Person
            private String firstName;
            private String lastName;
            private Person(String firstName, String lastName)
                this.firstName = firstName;
                this.lastName = lastName;
            public String getFirstName()
                return firstName;
            public String getLastName()
                return lastName;
    }

  • Robohelp HTML 9 hyperlinks in table cells help

    Hi,
    I'm creating a table in robohelp html 9 and adding hyperlinks in the table cells. If the hyperlink is the first word in that cell robohelp is adding styling code to the link eg <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>.
    If I add a link to the second word in a table cell the styling does not appear or even if I add a space before the link the code does not appear eg <td>&#160;<a href="#">test</a> </td>.
    The code appears when I flick between design and HTML views but it does not make any difference in which view I create the link.
    No matter how many times I delete this code is keeps coming back. Can  anyone please help me? Is there some default that gives this the styling  code?Does anyone else get this issue?
    A table with the different examples is below. It was created in design view by clicking table>insert table>OK. Links added by clicking the insert hyperlink button.
    <table style="border-collapse: separate; border-collapse: separate;" cellspacing="0"
             width="33.333%" border="1">
        <col style="width: 100%;" />
        <tr>
            <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test
             that has the added code</a></td>
        </tr>
        <tr>
            <td>&#160;<a href="#">test with space in front of link</a> </td>
        </tr>
        <tr>
            <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>
        </tr>
        <tr>
            <td>A <a href="#">test</a> </td>
        </tr>
    </table>
    Thanks in advanced

    I have the same problem with those stupid links in tables - I've been working on this for HOURS and HOURS...... Based on previous experience, I assumed it must only be me and an ill-formed stylesheet. The table/link issue just came to my attention because I am in the process of changing styles/formats to a new company standard (new link color) and thought I really screwed my CSS up as I was changing things!
    My only workaround thusfar has been to rewrite some data in the tables so that text will precede the link (yes, I did).  And where I just couldn't do that, I resigned myself to the problem and forced a different color on the links (changing the #0000ff).  One plus was that RH didn't rewrite the color code once it was changed manually..... but then I realized later that I didn't consider the hover color when I did this, so I now have to go back and correct them. 
    So glad to find your post...........
    I played with the idea of adding hidden text, but was worried that the problem was really a result of an issue with my CSS and doing that wasn't the proper way to fix it.   So, without guilt, I took Rick's suggestion and added an invisible dot/period at the beginning of every link in a table, when that link is the first or only content in the td.  Did the trick!  Now the links assume my declared css style! 
    I submitted a bug report.......
    Thank you!!!

  • Tab stops in table cell

    ID CS3 - If I have multiple tab stops in a table cell, is there a keyboard shortcut I can use to "tab" over to these stops?

    hmmm...my test layout seems to work well, but I will add another few rows of data. I have approximately 20 to 30 fields, and one of the fields references an image. So far, the two test rows have populated the fields correctly in ID when I've created the merge document. Was there any particular issues, or could you point me to something specific so I can check it out?

  • Table Cells Exploding in DWCS4

    I didn't want to have to start another thread, as this stuff
    gets embarrassing. But it looks like I'm at the end of my rope on
    yet another issue, and really could use some help.
    I have been working on cleaning up and converting an older
    GoLive website to Dreamweaver. I've had several hurdles I've had to
    come over, but today it looked like I was getting close to
    finishing up, and promised the client I would provide the converted
    files on Monday. Then something else started happening.
    I was replacing several GoLive Components on each page with
    the DW Library Items I had built. Things seemed to be going well,
    then all of a sudden the Library items began causing the table
    cells to explode and go clear across the page to who knows where. I
    have been trying everything I know to fix them, but it seems to be
    a losing battle.
    What's interesting is that when I view the pages in GoLive or
    a web browser, they are normal. It's only while working on them in
    Design View with DWCS3 and DWCS4 that these table cells are
    exploding to the right like this.

    > I'm sorry. I thought those were fixed. I'll work on this
    first. As for the
    > other errors, when validating a page they are so
    numerous that they have
    > to
    > form a line out the door. I hope I make it through this
    without a
    > meltdown. :-)
    Making a single fix to the page (my recommended FILE |
    Convert > XHTML 1.0
    Transitional) will whack most of those right out....
    Those errors are all just reflective of a mismatch between
    the tag syntax
    and the doctype. Make sure your page uses a doctype that is
    consistent with
    your coding ability - XHTML may not be the right choice for
    you in this
    case. Perhaps HTML4.01 Transitional would be a better one....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Linda King" <[email protected]> wrote in
    message
    news:gp35hk$kas$[email protected]..
    > Sorry about the delay. I ended up starting my new client
    job last night so
    > that
    > I could keep my promise to my new client, and continue
    trying to get this
    > code
    > straightened out on the previous client job today. I'm
    very tired so
    > please
    > bear with me.
    >
    > > You have to fix the errors in your Library item (as
    I mentioned - the
    > improper <body> </body> pair) before
    worrying about anything else. Also,
    > you have duplicated large bits of code in the head of
    the page.
    >
    > I'm sorry. I thought those were fixed. I'll work on this
    first. As for the
    > other errors, when validating a page they are so
    numerous that they have
    > to
    > form a line out the door. I hope I make it through this
    without a
    > meltdown. :-)
    >

  • Table Cells in Layout Mode vs WYSIWYG

    I am new to Dreamweaver and am using v8.0. When designing a
    page using Tables and Cells in Layout Mode the layout looks fine;
    the Cells are nice and tight. However - and this regardless of
    which Browser I use to check the page - the spacing between those
    same Cells is wholly unacceptable. As mentioned, in Layout Mode
    everything is tight; when viewing it in a browser there may be up
    to 2" of space between the Cells.
    What have I over looked? Any suggestions greatly appreciated!
    Thanks!

    Table width = 1327? Don't ever make your width more than
    about 770. As for
    the spacing .. I have never seen so many empty table cells in
    my life. :)
    As the others have said, you will do far better by learning a
    little html
    and css .. "adhering to conventions" will never happen with
    Layout Mode.
    It's there so people can draw tables .. but if I were DW
    Engineering, I
    would remove it .. I think it causes more problems than it's
    worth. :)
    Nancy
    "LGLDSR73" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thank you, Nancy!
    >
    > Cellspacing=0 set as such:
    >
    > <table width="1327" border="0" cellpadding="0"
    cellspacing="0">
    >
    > I seem to have it squared away now but that doesn't mean
    that I am
    > adhereing
    > to conventions. What I was doing was selecting 'Layout
    Table' to enclose
    > all
    > Images and text (and/or using 'Draw Layout Cell' as
    well), as opposed to
    > (1)
    > Using 'Layout Table' to set the page size, then (2)
    using 'Draw Layout
    > Cell' to
    > put the images and/or text in. What I am seeing now in a
    Browser (Safari)
    > is
    > matching up to what I am seeing in Dreamweaver. I don't
    think I fully
    > grasp the
    > differrence between 'Layout Table' and 'Draw Layout
    Cell'. I've been
    > reading in
    > the 'Help' and while it sheds some light it doesn't
    appear to be getting
    > through.
    >
    > Though the spacing of the images appears to be okay now,
    text is an issue.
    > I.e.,
    >
    > If I put:
    >
    > "The text will end here -------->" with the arrowhead
    at the rightmost
    > border
    > in Dreamweaver, when viewed in Safari it wraps to the
    second line even
    > though
    > within Dreamweaver I am not outside of the green
    frame....
    >
    > What is a recommended page size to start with, and set
    with which Tool?
    >
    > Finally, when I attempt to use Firefox to preview the
    page the following
    > error
    > is returned:
    >
    > File not found
    > Firefox can't find the file at /2 WD/NEW
    SITE/index.html.
    > * Check the file name for capitalization or other typing
    errors.
    > * Check to see if the file was moved, renamed or
    deleted.
    >
    > I purchased 'Dreamweaver 8 For Dummies' but apparently I
    transcend even
    > that!
    > ;-)
    >
    > The Code is attached, but please don't spend more than a
    quick moment;
    > this is
    > my problem and not yours!
    >
    > Thank you!
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>index</title>
    > <style type="text/css">
    > <!--
    > .style1 {font-family: "Gill Sans Light"}
    > .style2 {font-size: 36px}
    > body {
    > background-color: #666666;
    > }
    > -->
    > </style></head>
    >
    > <body>
    > <table width="1327" border="0" cellpadding="0"
    cellspacing="0">
    > <!--DWLayoutTable-->
    > <tr>
    > <td width="116" height="30"> </td>
    > <td width="136"> </td>
    > <td width="69"> </td>
    > <td width="264"> </td>
    > <td width="24"> </td>
    > <td width="107"> </td>
    > <td width="20"> </td>
    > <td width="234"> </td>
    > <td width="16"> </td>
    > <td width="338"> </td>
    > <td width="3"> </td>
    > </tr>
    > <tr>
    > <td height="41"> </td>
    > <td> </td>
    > <td> </td>
    > <td colspan="2" valign="top"><h1 align="center"
    class="style2"><span
    > class="style1">Fifth Avenue Digital
    </span></h1></td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    > <tr>
    > <td height="39"> </td>
    > <td> </td>
    > <td> </td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > </tr>
    > <tr>
    > <td height="47"> </td>
    > <td colspan="5" rowspan="4" valign="top"><img
    src="Images/main
    > image.jpg"
    > alt="main page cape cod" width="600" height="460"
    /></td>
    > <td> </td>
    > <td rowspan="2" valign="top"><img
    src="Images/9j.jpg" alt="router bit"
    > width="234" height="350" /></td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    > <tr>
    > <td height="303"> </td>
    > <td> </td>
    > <td> </td>
    > <td rowspan="2" valign="top"><img
    src="Images/06.jpg" alt="sand"
    > width="337" height="333" /></td>
    > <td> </td>
    > </tr>
    > <tr>
    > <td height="30"> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    >
    >
    >
    >
    >
    >
    >
    > <tr>
    > <td height="80"></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > </tr>
    >
    >
    >
    > <tr>
    > <td height="30"> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    > <tr>
    > <td height="77"> </td>
    > <td> </td>
    > <td colspan="2" rowspan="2" valign="top"><img
    src="Images/ramp.jpg"
    > alt="boat ramp rockport" width="333" height="500"
    /></td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td colspan="3" valign="top"
    nowrap="nowrap"><h1 align="left">This is
    > a
    > test of inputting text that is going</h1>
    > <h1 align="left">(new paragraph) to end right here
    --------&gt;
    > </h1></td>
    > <td> </td>
    > </tr>
    > <tr>
    > <td height="424"> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    >
    >
    >
    > <tr>
    > <td height="179"> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > <td> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • Table cell progress indicator

    I see in the JavaFX 2.2 API that there is a table cell implementation for rendering a progress bar. However, it appears that this only supports the progress indicator that takes an incremental update value (as a double, presumably a value between 0 and 1?) to adjust the "progress" in the indicator. There does not appear to be any support for an indeterminate progress indicator that can be embedded in a table cell.
    I am asking because I have a situation where there will be a background task that will be launched potentially for any row in a table. The task may take some time to execute and complete and I would like to show an indeterminate progress indicator that will "spin" until the task completes. I wanted to be able to include this as a cell (column) for each row so that individual rows could indicate whether they were currently "working" or done.
    Is there, or will there be in the near future, support for this type of functionality? Or, are there suggestions on a way to cobble together something that can do this?

    Copy and paste the ProgressBarTableCell code and search and replace ProgressBar with ProgressIndicator on it.
    http://hg.openjdk.java.net/openjfx/8/master/rt/file/tip/javafx-ui-controls/src/javafx/scene/control/cell/ProgressBarTableCell.java
    Here's a minor update to the great example James put together which does this.
    Seems to work fine. Only issue I see when running it on a recent jdk8 version is that the indeterminate progress indicator is a bit too big, then the whole indicator shrinks a little bit once the indicator switches to reporting percentage progress. I didn't investigate that any further, likely it's a minor styling bug in the new JavaFX modena style sheet for Java 8 which you could work around by applying your own style to indeterminate progress indicators.
    * Portions of this code (ProgressIndicatorTableCell) are base upon Oracle
    * JavaFX code (ProgressBarTableCell), which is subject to the following license term.
    * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    * This code is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License version 2 only, as
    * published by the Free Software Foundation.  Oracle designates this
    * particular file as subject to the "Classpath" exception as provided
    * by Oracle in the LICENSE file that accompanied this code.
    * This code is distributed in the hope that it will be useful, but WITHOUT
    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    * version 2 for more details (a copy is included in the LICENSE file that
    * accompanied this code).
    * You should have received a copy of the GNU General Public License version
    * 2 along with this work; if not, write to the Free Software Foundation,
    * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    * or visit www.oracle.com if you need additional information or have any
    * questions.
    package test;
    import java.util.Random;
    import java.util.concurrent.*;
    import javafx.application.Application;
    import javafx.beans.value.ObservableValue;
    import javafx.concurrent.Task;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class ProgressIndicatorTableCellTest extends Application {
      public void start(Stage primaryStage) {
        TableView<TestTask> table = new TableView<>();
        Random rng = new Random();
        for (int i = 0; i < 20; i++) {
          table.getItems().add(
                  new TestTask(rng.nextInt(3000) + 2000, rng.nextInt(30) + 20));
        TableColumn<TestTask, String> statusCol = new TableColumn("Status");
        statusCol.setCellValueFactory(new PropertyValueFactory<TestTask, String>(
                "message"));
        statusCol.setPrefWidth(75);
        TableColumn<TestTask, Double> progressCol = new TableColumn("Progress");
        progressCol.setCellValueFactory(new PropertyValueFactory<TestTask, Double>(
                "progress"));
        progressCol
                .setCellFactory(ProgressIndicatorTableCell.<TestTask>forTableColumn());
        table.getColumns().addAll(statusCol, progressCol);
        BorderPane root = new BorderPane();
        root.setCenter(table);
        primaryStage.setScene(new Scene(root));
        primaryStage.show();
        ExecutorService executor = Executors.newFixedThreadPool(table.getItems().size(), new ThreadFactory() {
          @Override
          public Thread newThread(Runnable r) {
            Thread t = new Thread(r);
            t.setDaemon(true);
            return t;
        for (TestTask task : table.getItems()) {
          executor.execute(task);
      public static void main(String[] args) { launch(args); }
      static class TestTask extends Task<Void> {
        private final int waitTime; // milliseconds
        private final int pauseTime; // milliseconds
        public static final int NUM_ITERATIONS = 100;
        TestTask(int waitTime, int pauseTime) {
          this.waitTime = waitTime;
          this.pauseTime = pauseTime;
        @Override
        protected Void call() throws Exception {
          this.updateProgress(ProgressIndicator.INDETERMINATE_PROGRESS, 1);
          this.updateMessage("Waiting...");
          Thread.sleep(waitTime);
          this.updateMessage("Running...");
          for (int i = 0; i < NUM_ITERATIONS; i++) {
            updateProgress((1.0 * i) / NUM_ITERATIONS, 1);
            Thread.sleep(pauseTime);
          this.updateMessage("Done");
          this.updateProgress(1, 1);
          return null;
    class ProgressIndicatorTableCell<S> extends TableCell<S, Double> {
      public static <S> Callback<TableColumn<S, Double>, TableCell<S, Double>> forTableColumn() {
        return new Callback<TableColumn<S, Double>, TableCell<S, Double>>() {
          @Override
          public TableCell<S, Double> call(TableColumn<S, Double> param) {
            return new ProgressIndicatorTableCell<>();
      private final ProgressIndicator progressIndicator;
      private ObservableValue observable;
      public ProgressIndicatorTableCell() {
        this.getStyleClass().add("progress-indicator-table-cell");
        this.progressIndicator = new ProgressIndicator();
        setGraphic(progressIndicator);
      @Override public void updateItem(Double item, boolean empty) {
        super.updateItem(item, empty);
        if (empty) {
          setGraphic(null);
        } else {
          progressIndicator.progressProperty().unbind();
          observable = getTableColumn().getCellObservableValue(getIndex());
          if (observable != null) {
            progressIndicator.progressProperty().bind(observable);
          } else {
            progressIndicator.setProgress(item);
          setGraphic(progressIndicator);
    }

Maybe you are looking for

  • Windows 8.1 will not activate on HP19-2113w after system refresh.

    Everything was working fine on my PC.  Then the other day it crashed and said there was a disk error and that it had to scan the whole drive to find the error. It finished scanning, but windows 8.1 would not load sucessfully.  Therefore I did a syste

  • List Box in ITS template and use of 'FIELD_SET'

    Hello EveryOne, I am working in SRM5.0. Can some one guide me, If we can create a List box in custom ITS template. I am trying to use SELECT statement on HTML to create LIst Box. Is this right way to do that? Does any one know better way to create a

  • Cannot save changes when enabling Publishing Server

    I have Contribute 4 with Contribute Publishing Server 1.11. I'm able to setup normal Contribute sites fine and was able to setup one Publishing Server site. Now though, whenever I try to enable Publishing Server on a site, it enables alright but when

  • Does not accept my debit card

    My card keeps getting rejected

  • Adobe 7.07 Crashes

    Hi, I got a new MBP 17" and used set up assistant to transfer my data plus apps from my PowerBook. Now everytime I try to open Adobe reader it opens for about 2 seconds then crashes out. I've tried deleting adobe prefs and the app and downloading a n