Cell border selection problem

I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
Title was edited by: Host

Hi Jim,
I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
Just as an option, would filling the sets of cells with a light colour for each class work better for you?

Similar Messages

  • JTable Cell text selection Problem.

    I am using Tab key while navigating with the Cells.While focus reaches into a cell,the cell is selected but not the cell content.So I use BACKSPACE to delete each word of the cell.I want to Select a cell content(i.e. Text) when I am move Tab keys to select cells.Please help me..........,u may send a mail at [email protected]

    Do u need this feature to the whole table or else for the perticular cell in the table?
    Are you using your own renderer or editor to the perticular cell ?,
    this issue is related to Renderer and Editor, so if i know your requirement , then only it is easy to implement.

  • JComboBox Cell Render selection problem

    .......It only changes the color of the triangle for the drop down. It does not change the color of what is selected. There is just a gray selection background
    <code>
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.plaf.basic.*;
    public class ComboBoxColor extends JFrame
         public ComboBoxColor()
              Object[] items = { Color.red, Color.green, Color.blue };
              JComboBox comboBox = new JComboBox( items );
              comboBox.setRenderer( new ColorRenderer( comboBox) );
              getContentPane().add( comboBox, BorderLayout.NORTH );
         public static void main(String[] args)
              ComboBoxColor frame = new ComboBoxColor();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible( true );
         class ColorRenderer extends BasicComboBoxRenderer
              JComboBox comboBox;
              Border border;
              public ColorRenderer(JComboBox comboBox)
                   this.comboBox = comboBox;
                   border = new LineBorder( Color.WHITE );
    //setOpaque(true);
              public Component getListCellRendererComponent(
                   JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
                   super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
                   setText("");
                   setBackground( (Color)value );
                   if (isSelected)
                        setBorder( border );
                   else
                        setBorder( null );
                   if (index == -1)
                        System.out.println((Color)value);
    comboBox.setBackground((Color)value);
    if((Color)value==Color.RED){
    System.out.println("REd");
    comboBox.setBackground(Color.RED);
    else if((Color)value==Color.GREEN){
    System.out.println("Green");
    comboBox.setBackground(Color.GREEN);
    else{
    System.out.println("Blue");
    comboBox.setBackground(Color.BLUE);
                   return this;
    </code>

    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.plaf.basic.*;
    public class ComboBoxColor extends JFrame
         public ComboBoxColor()
              Object[] items = { Color.red, Color.green, Color.blue };
              JComboBox comboBox = new JComboBox( items );
              comboBox.setRenderer( new ColorRenderer( comboBox) );
              getContentPane().add( comboBox, BorderLayout.NORTH );
         public static void main(String[] args)
              ComboBoxColor frame = new ComboBoxColor();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible( true );
         class ColorRenderer extends BasicComboBoxRenderer
              JComboBox comboBox;
              Border border;
              public ColorRenderer(JComboBox comboBox)
                   this.comboBox = comboBox;
                   border = new LineBorder( Color.WHITE );
                            //setOpaque(true);
              public Component getListCellRendererComponent(
                   JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
                   super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
                   setText("");
                   setBackground( (Color)value );
                   if (isSelected)
                        setBorder( border );
                   else
                        setBorder( null );
                   if (index == -1)
                        System.out.println((Color)value);
                                    comboBox.setBackground((Color)value);
                                    if((Color)value==Color.RED){
                                        System.out.println("REd");
                                        comboBox.setBackground(Color.RED);
                                    else if((Color)value==Color.GREEN){
                                        System.out.println("Green");
                                        comboBox.setBackground(Color.GREEN);
                                    else{
                                        System.out.println("Blue");
                                        comboBox.setBackground(Color.BLUE);
                   return this;
    }

  • Selected Table Cell Border in 1.4.2

    Hi All!!
    I am facing a problem with JDK 1.4.2_01 & Windows L&F. I am unable to see the yellow border around the selected cell in JTable. Was working fine with 1.4.1_03.
    A bug with id: 4674205 was reported with 1.4.0 stating :
    " In the Windows Look and Feel, the selected cell in a JTree or JTable is framed with a yellow rectangle. To accurately match the real Windows UI, it should be a black and white dotted rectangle instead. (This was part of bug 4268204,which was marked fixed, but this part hasn't been fixed.) This behavior was fixed for JList, but not JTree or JTable. "
    Now it has been fixed and closed.
    May be they might have removed setting of yellow border for the selected cell to match with native windows UI.
    But selected cell border is very much necessary for my project. Can any one please suggest me a workaround.
    With Regards,
    LRK

    Hi Sai!
    Thanks for your reply. It will not be feasible in my application as it already has huge number of tables with some of them already having complex renderers and editors.
    I was looking at something which i can set globally so that it will reflect to all of the tables in the application in a particular L&F.
    I tried setting
    UIManager.getDefaults().put("Table.focusCellHighlightBorder",Color.yellow);
    and
    UIManager.put("Table.focusCellHighlightBorder",Color.yellow);
    But no luck.
    Any other inputs are most welcome.
    With Regards,
    LRK

  • Cell(Row) Selection not display in OOPS ALV

    Hi all,
    I am not able to get the cell(row) selection in the oops ALV when i called it second time.
    I am displaying some information using oops alv  in 100 screen. After user action on 100 screen i am calling 200 screen with different information which is also display in oops alv. When i displaying information in second time the cell(row) selection is not getting displayed.
    For both ALV the fieldcatelog is different.
    Initially i tried using same container but i face same problem, so i am trying to call second alv in new screen.
    But problem remain same.
    Can anyone help me to solve this problem ?
    Regards
    Nilesh

    hi,
    can u send ur report  so dat i can look furhter to it.and help u out

  • Cell border will not hold.

    A cell will not maintain a border.  When I try to select which line to use, it immediately goes back to "none", thoughts?

    Hi keirby,
    Border format controls may be found in the Format bar near the top of the document window (top image) and in the Table Inspector (bottom image).
    Note that there are four controls in the Format bar. The Inspector splits the first one, the border selection menu, into three sets of buttons. The remaining controls are uses to set the border Style, the border Width, and the Border Colour. If you use only the first (which is what I suspect you have done), you will have Selected the border that you want to change, but haven't specified what changes you want to make.
    Here are the steps to set a wide, dashed red border on a set of three cells:
    Select the cells to which the border will be applied.
    In the Format bar, select the bottom border, using the first pop-up menu button.
    When you release the mouse button,the blue Selection rectangle showing the three selected cells (above) will be replaces by a blue Selection line showing the bottom edge of these cells in selected. No change has yet been made to the border.
    Use the Style button to choose the dashed line.
    Use the Stroke Thickness button to choose 2 pt.
    Click the Stroke Color Well and choose a Red from the Color Palette that opens.
    The selection line will change to reflect each of these choices as it is made and applied to the selected border.
    Click any unselected cell on the table to deselect the cells just changed, or click away from the table to deselect the whole table and view the changes.
    Regards,
    Barry

  • Cell Border Line Weight

    I would like to use different Line Weights on spreadsheet cell borders, but no matter what Line Weight I choose from the Accents window, I always get (both visually and printed) the same Line Weight (hairline?) when I set a cell border. Am I missing something?

    I didn't enter the system details because the problem appeared on all the (different) systems I tried: iBook G4 (OS X 10.3.8), iMac G4 (OS X 10.3.9), iMac G5 (OS X 10.4.?), AppleWorks 6.2.7 and 6.2.9. I understand the need in general, but since this problem persisted across all these platforms, I thought that it would either be a well-known usage problem or bug (even though my best efforts could find no mention of it).
    Thanks for your response.
    Pete

  • Cell border with categories not possible?

    Several tables in my worksheet. Those without categories... I can format cell borders. Those with categories, no way. Can't select cell borders or apply line effects to a manually-selected cell border. Is there a workaround?

    You are right. I also discoverd that .NET has an implementation for this. Well, I hate to resort to .NET but have no choice.

  • Selection Problem with JTable

    Hello,
    i have a selection problem with JTable. I want to allow only single cell selection and additionally limit the selection to the first column.
    I preffered the style from MS Outlook Express where you can select the email accounts to edit.
    It is a table like this:
    Account name  |   Type  |   ...
    --------------|---------|---------------------
    Hotmail       |   POP3  |
    GMX           |   IMAP  |The selection should be only avaibable at 'Hotmail' or 'GMX' - not at 'POP3', 'IMAP' or as complete row selection.
    Please help me!
    Thanks.
    Warlock

    Maybe this will helpimport java.awt.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        String[] head = {"One", "Two"};
        String[][] data = {{"R1-C1", "R1-C2"}, {"R2-C1", "R2-C2"}};
        JTable jt = new JTable(data, head);
        jt.getColumnModel().setSelectionModel(new MyTableSelectionModel());
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.setCellSelectionEnabled(true);
        jt.setRowSelectionAllowed(false);
        jt.setColumnSelectionAllowed(false);
        setSize(300, 300);
        setVisible(true);
      public static void main(String[] arghs) { new Test3(); }
    class MyTableSelectionModel extends DefaultListSelectionModel {
      public void setSelectionInterval(int index0, int index1) {
        super.setSelectionInterval(0, 0);
    }

  • Smartforms - Is it possible to Customize Cell Border In Template in 4.6C

    Hi,
    In smartforms, i know that Customizing Cell border is possible with node type TEMPLATE in version 6.20
    Our system is 4.6C
    But there are many differences between 4.6C and 6.20 about SMARTFORMS.
    Is there a way to specify custom cell border without "Select Pattern" option with node type TEMPLATE in 4.6C
    thanks
    ibrahim

    Hi,
    As you identify there are some large differences between Smartforms in 4.6c and 6.20.  So there is no equivalent of the cell-specific borders in 4.6c
    Regards,
    Nick

  • Matchcode inside a table (selection problem)

    Hi,
    I'm working on a table that allows the users to edit its values directly inside the table.
    Two of the four columns of the table should show, in "editing mode" (ie. when the row is selected/is the LeadSelection), an InputField with a matchcode.
    Now, I have the input field with the matchcode attached, I've placed it in a CellVariant. And it "works"... well, sort of...
    Because whenever I try to click on the matchcode icon, the matchcode popup is not shown. Instead, it's like I've made a click on the area as if the matchcode icon never existed (if I am clicking on the third column's matchcode, I select the fourth column cell).
    A screenshot of the table:
    http://www.pchs.it/image-hosting/out.php/i43644_Matchcodeinsideatable.PNG
    Do you have any ideas on how to solve this?
    Thank you,
    Pietro

    I've made another discovery while testing the component.
    On Firefox 3.6.10: the click on the Matchcode icon does not work, pressing F4 when the cell is selected works
    On Explorer 6.0: both methods work
    Problem was... I was testing the component with Firefox.
    Damned browser (in)compatibility!
    See you,
    Pietro

  • JTable custom cell editor focus problem

    Hi I have created a JTable (using Java 1.4.2) and have three cell Editors, one is a JFormattedTextField, one is a JComboBox and one is a custom cell editor.
    When I press tab I can select the cell with the JFormattedTextField and when I start typing the JFormattedTextField accepts my input and it is displayed in the cell. This is the type of behaviour I would like but it does not seem to work for my other 2 cell editors:
    When I tab to the JComboBox cell I can see that the cell is selected but typing or using the arrow keys does not allow me to select a new value in the JComboBox. (I have also tried typing space or enter to activate the JComboBox whilst the cell is selected.) The only ways to select a new value at the moment is to first click on the cell with the mouse and then use the keyboard to select a new value. It is like the actual JComboBox is not receiving the focus? Does anyone know how to solve this problem?
    I also seem to have the same problem with my custom cell editor. My custom editor is a JPanel which contains JFormattedTextField again I can tab to the cell and see that it is selected but to activate the JFormattedTextField I have to actually select it with the mouse.
    I have been stuck on this for some time so if any one has any suggestions they would be much appreciated !

    Hi I have created a JTable (using Java 1.4.2) and have three cell Editors, one is a JFormattedTextField, one is a JComboBox and one is a custom cell editor.
    When I press tab I can select the cell with the JFormattedTextField and when I start typing the JFormattedTextField accepts my input and it is displayed in the cell. This is the type of behaviour I would like but it does not seem to work for my other 2 cell editors:
    When I tab to the JComboBox cell I can see that the cell is selected but typing or using the arrow keys does not allow me to select a new value in the JComboBox. (I have also tried typing space or enter to activate the JComboBox whilst the cell is selected.) The only ways to select a new value at the moment is to first click on the cell with the mouse and then use the keyboard to select a new value. It is like the actual JComboBox is not receiving the focus? Does anyone know how to solve this problem?
    I also seem to have the same problem with my custom cell editor. My custom editor is a JPanel which contains JFormattedTextField again I can tab to the cell and see that it is selected but to activate the JFormattedTextField I have to actually select it with the mouse.
    I have been stuck on this for some time so if any one has any suggestions they would be much appreciated !

  • Printing and saving border selection

    This question has two parts:
    1. When I try to select several row and columns and create a border, when I select the top border then try to select the bottom, it deselects the top one. How can I create multiple borders at once?
    2. I cant figure out why it will not print the borders. Do I have to save my border selection? If so, how do I do it?

    Hello
    select the block of cells
    In the Inspector click the button with a cross
    select the thickness (I choosed 1)
    select the color ( I choosed red)
    Then click the button with a surrounding square
    select the thickness (I choosed 1)
    select the color ( I choosed red)
    I printed it and got:
    Yvan KOENIG (from FRANCE jeudi 13 mars 2008 21:24:10)

  • Cell border not appearing in Adobe forms

    Hi,
    We Placed a button in internal table cell and itu2019s property is set to invisible.
    This button is set to visible based on value of other column value in the same row of table.
    But border for the cell is not coming when button is invisible.
    Note: the button size is equal to cell size and so when we make the button invisible ,the cell border itself is not appearing as the whole cell is invsible.
    How make the cell border visible even the button in that cell is invisible.
    Please put your suggestions in this regard.
    Regards,
    Kranti Yamparala.

    Hi Kiran,
    Please go through the below link:
    http://help.sap.com/saphelp_nw70/helpdata/en/45/2dbb13d79f3446e10000000a155369/frameset.htm
    Here the method to hide the toolbar is given. Try passing ABAP_FALSE in method: lr_method_handler->set_hide_toolbars( abap_false ) if it works.
    Regards,
    Vaibhav

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

Maybe you are looking for