Help cell or Auxillary cell in Cell editor

Hi BW experts,
   Can anybody teach me the importance of HELP CELL or Auxillary cell in the Cell editor of reports.
In which circumstances we use the cell editor ?

Hi  vkid,
>>All there is in my datatable is one value loaded. Here's my code, but how do i convert that datatable to a string?
About convert datatable to a string, you can use the following code
string res = String.Join(Environment.NewLine, table.Rows.OfType<DataRow>().Select(x => String.Join(" ; ", x.ItemArray)));
But based on your title, How to get specific cell,  please check the following code
string value = table.Rows[0].ItemArray[0].ToString();
It means get the firstrow and first column value. You can get the specified cell which you want.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Search help in case of a table cell editor

    Hi
    I need a search help in case of a table cell editor as well as the the other requirement is that it shld be a reusable one.
    could anyone of u suggest me some methods
    regards
    Nikhil Tapkir

    There are several ways of doing this.
    1. Use OVS
    2. Create a Search help in R3. Call the function module.
    3. Create a Jar file which would provide the result .
    It is upto you on which ever way you want to provide
    Kumar

  • How to synchronize a cell in form with a cell in MS excel sheet

    dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , i need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    please help

    Dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , I need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    I searched the web several times . Some people adviced me to use "Apache-jakarta-poi" . It is a pure java code. But my knoledge in java is limited.I asked on Oracle forums -
    how to synchronize a cell in form with a cell in MS excel sheet - but no one can help
    I tried the oracle forms demo "OLEEXCEL.fmb" . But this form is not working correct .
    I need to embed ole2 in my form that holds excel sheet and passes values from text items to the excel sheet.
    My last try is that I did the following :
    1- in the main canvas i insert the OLE2 control
    2- Right Click and choose insert
    3- from the dialog i chosed Excel Sheet
    4- I placed a button on my canvas then i on the button I write this code
    declare
    worksheet ole2.obj_type;
    cell ole2.obj_type;
    args ole2.list_type;
    begin
    forms_ole2.activate_server('block1.excel_sheet');
    worksheet := forms_ole2.get_interface_pointer('block1.excel');
    args := ole2.create_arglist;
    ole2.add_arg(args,1) -- column1
    ole2.add_arg(args,1) -- cell1
    cell := ole2.invoke_obj(worksheet,'cell',args);
    ole2.destroy_arglist(args);
    ole2.set_property('cell','value',:text1);
    ole2.release_obj(cell);
    ole2.release_obj(worksheet);
    end;
    I get this error ora-305500
    and when i debug , the code stop in this line : cell := ole2.invoke_obj(worksheet,'cell',args);
    please help

  • ALV copy one cell and paste into 10 cell at the same time

    Hi,
    I have editable ALV. Requirement is to 1) copy one cell value and paste into 10 selected cell at the same time. 
                                                                  2) Pull doen cell like excel to copy cell value.
    Your help would be highly appreciated.

    Just a try,
    switch the Quick cut and paste option on,now select the data then
    select the cells of the column and right click for paste.
    Im not at all sure whether this will work

  • How do I use the formula = to enter one cell as a % of another cell

    I wish to enter into a seperate cell what one cell is as a % of another cell in numbers. How do I enter this % formula into the required cell.
    Peter

    Jalna,
    In "a separate cell" write: one-cell's-address / another-cells-address.
    Format separate-cell to %.
    Jerry
    Edit: I just noticed that your question is about iOS Numbers. So, the answer for iOS Numbers would probably be something like:
    Click in "a separate cell". Enter formula mode. Click on "one-cell", select  "/" operator, click on "another-cell". Exit formula mode. Format as %.
    Can you tell I'm just guessing?
    J.

  • How to set table cell renderer in a specific cell?

    how to set table cell renderer in a specific cell?
    i want set a cell to be a button in renderer!
    how to do?
    any link or document can read>?
    thx!

    Take a look at :
    http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
    It is very interesting, and I think your answer is here.
    Denis

  • In NUMBERS, on a iPad3, how do I get 1 cell to transfer to another cell on a different sheet?

    In NUMBERS, on a iPad3, how do I get 1 cell to transfer to another cell on a different sheet? Exm... Van 1, Auto Log, C7 to transfer over to Monthly report, April, C3

    Right-click on one of the other section headers. In the context menu that appears, make sure there is a checkmark in File Handling.

  • Help with creating a custom table cell editor?

    hi, i was reading up on various tutorials and trying to write codes that pops up a simple calendar when clicked on text of the Date class in a table, so far, i can't seem to get my classes working.. the following is some classes i've written for this task (note, there are alot of commented out lines, those are the modifications done to the tutorial classes in http://java.sun.com/docs/books/tutorial/)
    any help would be appreciated :D
    thanks in advance!
    What i have done so far:
    /** BASIC TABLE CLASS FOR DEMONSTRATION*/
    //import java.awt.*;
    import java.util.*;
    import javax.swing.*;
    public class TableBasic extends JFrame
         public TableBasic()
              String[] columnNames = { "Date", "String", "Integer", "Boolean" };
              Object[][] data =
                   {  { new Date(), "A", new Integer(1), Boolean.TRUE },
                        {new Date(), "B", new Integer(2), Boolean.FALSE },
                        {new Date(), "C", new Integer(9), Boolean.TRUE },
                        {new Date(), "D", new Integer(4), Boolean.FALSE}
              JTable table = new JTable(data, columnNames)
                   //Returning the Class of each column will allow different
                   //renderers to be used based on Class
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              table.setDefaultRenderer(Date.class, new CalendarRenderer(true));
              table.setDefaultEditor(Date.class, new CalendarEditor());
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane(table);
              getContentPane().add(scrollPane);
         public static void main(String[] args)
              TableBasic frame = new TableBasic();
              frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
              frame.pack();
              //frame.setLocationRelativeTo(null);
              frame.setVisible(true);
    * CLASS BASED ON ColorRenderer.java at http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/ColorRenderer.java
    import javax.swing.BorderFactory;
    import javax.swing.JLabel;
    import javax.swing.JTable;
    import javax.swing.border.Border;
    import javax.swing.table.TableCellRenderer;
    //import java.awt.Color;
    import java.awt.Component;
    public class CalendarRenderer
         extends JLabel
         implements TableCellRenderer
         Border unselectedBorder = null;
         Border selectedBorder = null;
         boolean isBordered = true;
         public CalendarRenderer(boolean isBordered)
              this.isBordered = isBordered; setOpaque(true);
              //MUST do this for background to show up.
         public Component getTableCellRendererComponent(JTable table,
                                                                     Object color,
                                                                     boolean isSelected,
                                                                     boolean hasFocus,
                                                                     int row,
                                                                     int column)
              String newDate = (String)color;
              setText(newDate);
              if (isBordered)
                   if (isSelected)
                        if (selectedBorder == null)
                             selectedBorder = BorderFactory.createMatteBorder(2,5,2,5, table.getSelectionBackground());
                        setBorder(selectedBorder);
                   else
                        if (unselectedBorder == null)
                             unselectedBorder = BorderFactory.createMatteBorder(2,5,2,5, table.getBackground());
                        setBorder(unselectedBorder);
              //setToolTipText("RGB value: " + newColor.getRed() + ", " + newColor.getGreen() + ", " + newColor.getBlue());
              return this;
    * the editor based on ColorEditor.java at http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/ColorEditor.java
    import javax.swing.AbstractCellEditor;
    import javax.swing.table.TableCellEditor;
    import javax.swing.JButton;
    import javax.swing.JColorChooser;
    import javax.swing.JDialog;
    import javax.swing.JTable;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class ColorEditor
         extends AbstractCellEditor
         implements TableCellEditor, ActionListener
         Color currentColor;
         JButton button;
         JColorChooser colorChooser;
         JDialog dialog;
         protected static final String EDIT = "edit";
         public ColorEditor()
              //Set up the editor (from the table's point of view),
              //which is a button.
              //This button brings up the color chooser dialog,
              //which is the editor from the user's point of view.
              button = new JButton();
              button.setActionCommand(EDIT);
              button.addActionListener(this);
              button.setBorderPainted(false);
              //Set up the dialog that the button brings up.
              colorChooser = new JColorChooser();
              dialog = JColorChooser.createDialog(button,
                   "Pick a Color",
                   true, //modal
                   colorChooser,
                   this, //OK button handler
                   null); //no CANCEL button handler
          * Handles events from the editor button and from
          * the dialog's OK button.
         public void actionPerformed(ActionEvent e)
              if (EDIT.equals(e.getActionCommand()))
                   //The user has clicked the cell, so
                   //bring up the dialog.
                   button.setBackground(currentColor);
                   colorChooser.setColor(currentColor);
                   dialog.setVisible(true); //Make the renderer reappear.
                   fireEditingStopped();
              else
                   //User pressed dialog's "OK" button.
                   currentColor = colorChooser.getColor();
         //Implement the one CellEditor method that AbstractCellEditor doesn't.
         public Object getCellEditorValue()
              return currentColor;
         //Implement the one method defined by TableCellEditor.
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
              currentColor = (Color)value; return button;
    /** THE SIMPLE CALENDAR WRITTEN TALIORED TO WORK WITH DIALOGS*/
    import javax.swing.*;
    import java.util.Calendar;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.SimpleDateFormat;
    //import java.beans.*; //property change stuff
    public class CalendarDialog
         extends JDialog
         //implements PropertyChangeListener
         private JButton[] btn = new JButton[49];
         private int month = Calendar.getInstance().get(Calendar.MONTH);
         private int year = Calendar.getInstance().get(Calendar.YEAR);
         private JLabel lbl = new JLabel("", JLabel.CENTER);
         private JOptionPane optionPane;
         private String curDate = null;
         private JTextArea output = new JTextArea(curDate, 1, 20);
         private String btnString1 = "Enter";
         private String btnString2 = "Cancel";
         public CalendarDialog()
              //super(aFrame, true);
              setContentPane(buildGUI());
              setDates();
         public JPanel buildGUI()
              JPanel panel = new JPanel();
              String[] header = { "Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" };
              JPanel midPanel = new JPanel(new GridLayout(7, 7));
              for (int x = 0; x < btn.length; x++)
                   final int selection = x;
                   btn[x] = new JButton();
                   btn[x].setFocusPainted(false);
                   if (x < 7)
                        JLabel lbl = new JLabel(header[x], JLabel.CENTER);
                        lbl.setFont(new Font("Lucida", Font.PLAIN, 10));
                        midPanel.add(lbl);
                   else
                        btn[x].addActionListener(new ActionListener()
                             public void actionPerformed(ActionEvent ae)
                                  displayDatePicked(btn[selection].getActionCommand());
                        midPanel.add(btn[x]);
              JPanel lowPanel = new JPanel(new GridLayout(1, 3));
              JButton prevBtn = new JButton("<< Previous");
              prevBtn.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        month--;
                        setDates();
              lowPanel.add(prevBtn);
              lowPanel.add(lbl);
              lowPanel.add(output);
              JButton nextBtn = new JButton("Next >>");
              nextBtn.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        month++;
                        setDates();
              lowPanel.add(nextBtn);
              JPanel outputPanel = new JPanel();
              Object[] options = { btnString1, btnString2 };
              optionPane =
                   new JOptionPane(
                        output,
                        JOptionPane.QUESTION_MESSAGE,
                        JOptionPane.YES_NO_OPTION,
                        null,
                        options,
                        options[0]);
              outputPanel.add(optionPane);
              panel.setLayout(new BorderLayout());
              panel.add(lowPanel, BorderLayout.NORTH);
              panel.add(midPanel, BorderLayout.CENTER);
              panel.add(outputPanel, BorderLayout.SOUTH);
              return panel;
         public void setDates()
              for (int x = 7; x < btn.length; x++)
                   btn[x].setText("");
              SimpleDateFormat sdf = new SimpleDateFormat("MMMM yyyy");
              Calendar cal = Calendar.getInstance();
              cal.set(year, month, 1);
              int dayOfWeek = cal.get(java.util.Calendar.DAY_OF_WEEK);
              int daysInMonth = cal.getActualMaximum(java.util.Calendar.DAY_OF_MONTH);
              for (int x = 6 + dayOfWeek, day = 1; day <= daysInMonth; x++, day++)
                   btn[x].setText("" + day);
              lbl.setText(sdf.format(cal.getTime()));
         public void displayDatePicked(String day)
              if (day.equals("") == false)
                   SimpleDateFormat sdf = new SimpleDateFormat("EEEE d MMMM, yyyy");
                   Calendar cal = Calendar.getInstance();
                   cal.set(year, month, Integer.parseInt(day));
                   curDate = sdf.format(cal.getTime());
                   //JOptionPane.showMessageDialog(this, "You picked " + sdf.format(cal.getTime()));
                   output.setText(sdf.format(cal.getTime()));
         public String getDate()
              return curDate;
         public void setDate(String date)
              curDate = date;
    }

    well, i have indeed narrowed down my problem after some digging around.. one thing i discovered that i don't need CalendarRenderer.java.. and i found out i don't really know what does
    //Implement the one method defined by TableCellEditor.
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
              curDate = (String)value; return button;
         }do, as it seems to be the problem:
    java.lang.ClassCastException
         at CalendarEditor.getTableCellEditorComponent(CalendarEditor.java:78)
         at javax.swing.JTable.prepareEditor(JTable.java:3786)
         at javax.swing.JTable.editCellAt(JTable.java:2531)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.adjustFocusAndSelection(BasicTableUI.java:510)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(BasicTableUI.java:494)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    mmm.. does anyone know what i should modify for that to work?

  • Need help w a popup based on cell value

    I have a spreadsheet that when the value of any cell in column  H between rows 2 & 71 is greater than cell K1 I would like a popup to say "Winner"
    Thank you in advance for any help
    Dustin Shepard

    Hello,
    where would you like the popup? How are the values in H2 to H71 getting changed? If they are changed by manual user entry, you could use a worksheet change event like this:
    copy the code below. Right-click the sheet tab, select "View Code" and paste the code into the big, white code window:
    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Intersect(Target, Range("H2:H71")) Is Nothing Then
            If Target > Range("K1") Then
                MsgBox ("The Winner is cell " & Target.Address)
            End If
        End If
    End Sub
    Close the VBA editor and change a value in your sheet.
    If this is not what you want to achieve, please provide more background.
    cheers, teylyn

  • Help needed with referencing single Excel cells and formatting resulting text

    In InDesign CS5 I am putting together a 20pp catalogue of about 200 products. The plan is to have the product information, SKU code, quantity etc fixed, but have the prices (there are two i.e. pack price and individual price) being linked to an Excel spreadsheet. This is so that the prices can be updated in the Excel file and the InDesign file will pull the new prices through. In case you are wondering why I don't pull the whole set of information through, this is because there are a lot of copywriting changes done to the information once it's in InDesign - it's only going to be the prices that will be updated.
    I am planning on having two single cell tables in their own text frame, duly formatted with cell style, table style and paragraph style for the two price variables. This I am then going to have to repeat 200 times making sure I link to the next row down in Excel. This is going to be a hideous task but I see know way of modifying the cell in InDesign to point it to the next row in Excel. That's my first problem.
    My second problem is this. In the Excel sheet, the prices are formatted as UK currency and are therefore like this...
    £2.00
    £0.40
    £1.43
    £9.99
    £0.99
    £0.09
    What I will require is once I import that data (and refresh the data via a newly saved Excel file) is that the prices end up like this...
    £2.00
    40p
    £1.43
    £9.99
    99p
    9p
    So if the value is lower than £1.00 it needs a trailing 'p' added  and the leading zero and '£' sign stripped off. If the value is lower than £0.10 it also needs the zero after the decimal point stripping off.
    Then formatting wise, the '£' sign needs to be superscripted and the same for the 'p'. This I am assuming could be done via GREP?
    In summary, can anyone help with the first task of referecing the Excel cells on a cell by cell basis, given that it is the same cell column each time, but the next row down, and also point me in the right direction of the price formattting issues.
    Any help will be gratefully received.

    I would do this:
    Create on line with the formatting.
    Export as InDesign tagged text (TXT)
    Read out these tags
    In Excel exists a function to connect text from several cells and predfined text, there connect the content from cells with the paragraph styling tags. Do it in a seperate sheet. (Better would be to use a database like Access, there you can link your Excel sheet).
    Export this sheet as txt file
    Place this sheet as tagged text (there is an option in one of the sialog boxes).
    In preferences  < file handling you can specify that Tablecalculation Sheets and text is not embedded but linked, turn it on.

  • Need Help with giving Colors to Table Cells and Table Borders in Dreamweaver CC - Please!

    Hi,
    I am a teacher and use Dreamweaver CC to make my class web page.
    How do I give colors to the cell borders of a table I inserted?  How do I give colors and line thickness
    to table borders, too?
    I bought the David Powers DVD and it doesn't show that.
    Please help.
    Thank you,
    John

    Assuming that you have placed a table in your document and your CSS Designer panel is open
    1. Click the '+' sign
    2. Choose your option. I will choose 'Define in Page'
    3. Follow the above sequence, 1.click on table, 2.ensure table is selected, 3.click on style, 4.click the '+' sign, 5. see the selector appear.
    4. Click on the selector and choose the required Properties.
    You can do the same for the row (<tr>) or a cell (<td>). In fact, this is how you would go about styling anything in your document.

  • Need help: checkbox or radiobutton in table cell

    So basically i am looking for code samples or links to where i can find an implementation of 2 or 3 radiobuttons or checkboxes in a table cell/column, so that for each row, i can have a selection of A, B or C for a particular string in the first column. I can create a table with one checkbox, but i cant figure out 2 or more inside the same cell.
    thanks :)

    The JTable tutorial has a section titled "Using a Combo Box as an Editor". Take a look at their example for how to do this.
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • Hi, please help about text and divided/summed cells

    Here's my problem: I need that the text in a cell exceeds the right border of it, and this work ok by default.
    But when you sum or divide even only a pair of cells, in all the cells of that column the text is forced into the borders.
    I need to make a sheet of my guests (I work in a hotel), and the plan is this:
    - every column is a day of the calendar
    - every room has a row, to text in the Name of the guest and some useful info about the room type, a different color for different travel agency etc. Note that for me is very useful to read easily that info, and so the fact that the text goes in the next cells is a must have.
    For the next season I was managing to complete this registry adding a new row for each room, where to put in some numerical info, for doing sums of the people I have in day per day ect.
    So I was plannig to divide every cell of the second row in two cells, one for the adults in the room, one for the kids, in order to have the sum.
    But when I had the second row and divide the cells the text in the upper row is forced into the cell, and also all the text in that column.
    Anyone who can help me?
    Thank you in advance,
    Stefano

    Here's an example, with three different ways to shot the daily total.
    Totals for Jan 1 are shown in the three footer rows. Each is independent of the others, and only one would be used in practice.
    Form A is a simple sum of the column: =SUM(B)
    Form B separates the integer and fractional parts of the total, then recombines them into a text string:
    =INT(SUM(B))&"A "&ROUND(100*(SUM(B)-INT(SUM(B))),0)&"C"
    Form C does a similar separation, but treats the SUM result as a text string:
    =LEFT(SUM(B),LEN(SUM(B))-3)&"A "&RIGHT(SUM(B),2)&"C"
    Note that the daily counts are entered as # of adults, decimal, # of children (using two digits)
    Formulas will accommodate any number of adults, and up to 99 children (total). For a higher total, revisions to the entry method (one more digit after the decimal—2.001 in place of 2.01) and to Form B (replace 100 with 1000) OR Form C formulas (replace SUM(B),2 with SUM(B),3 ).
    Regards,
    Barry

  • I need help creating a formula that looksup cell data and give a value.

    I want to have the table "At a glance"  show the total days a driver has worked, there total in sales and there total in milage. The table shown is a example of what I want to have happen. I want to input any name into cell B2,C2,D2,ect. that is found in the row C2:C17 of Checkpoint (Truck 1) and Checkpoint (Truck 2) and return the total amount of day the driver has driven both trucks, The total in sales the driver has collected (Truck 1 and 2) and How many miles the driver has driven (Truck 1 and 2). I realize that these tables are not labeled correct. If I enter a name into B2 and the driver associated with that name hasnt driven then I want "N/A' to show in cell B2 and so one. I assume that the formula that is created for cell B2 will be copied and pasted into cell C2, D2, ect..
    If someone could help me with this problem I'd really appreciate it.
    Thanks.

    Hi br,
    To show the number of days worked by a driver, you need to COUNT the number of times that driver's name appears in row 2 of both tables.
    To calculate his total sales and total mileage, you need to SUM the amounts he brought in each day and the distances he drove each day.
    Your functions for this are COUNTIF and SUMIF.
    Formulas in At a Glance:
    B2: =COUNTIF(Truck 1 :: $3:$3,B$1)+COUNTIF(Truck 2 :: 3:3,B$1)
    B3: =SUMIF(Truck 1 :: $3:$3,B$1,Truck 1 :: $5:$5)+SUMIF(Truck 2 :: $3:$3,B$1,Truck 2 :: $5:$5)
    B4: =SUMIF(Truck 1 :: $3:$3,B$1,Truck 1 :: $12:$12)+SUMIF(Truck 2 :: $3:$3,B$1,Truck 2 :: $12:$12)
    Fill all three formulas right to the last column of At a Glance.
    To put N/A in place of the 0 in Roger's column and the empty columns, wrap each of the formulas in an IF statement:
    Bn: =IF(AND(ISERROR(MATCH(B$1,Truck 1 :: $3:$3,0)),ISERROR(MATCH(B$1,Truck 2 :: $3:$3,0))),"N/A",formula)
    Where formula is the formula used in column B above.
    Regards,
    Barry

  • Help creating tables with multi line cells (variable height cells)

    Hi -
    I am trying to create a table where the row height of various rows might not
    be one unit (i.e. there would be wrap around text) but I DO NOT want every cell
    to be the same height. i.e. I only want rows with wrap around to be taller.
    What I have done already is
    - Create a new text renderer and set it as default table renderer.
    - played around with the table.serRowHeight method.
    what I noticed is this. If i call
    table.setRowHeight (32);
    All the rows will be a height of 32 which is expected.
    However, if I do something like:
    table.setRowHeight (0,16);
    table.setRowHeight (1,32);
    All the rows render as height 16.
    I am trying to do this on the fly so to speak. I am setting the table model
    fully and then listening to the tableModelChanged event and then want to
    adjust the rows accordingly.
    I have below listed the code snippit and what i WANT to do and what only seems
    to work:
    public void tableChanged(TableModelEvent e) {
    int rows = table.getRowCount();
    //// Using the api i would expect this to make each row taller
    for (int i = 0; i < rows; ++i) {
    table.setRowHeight(i,16+16*i);
    //// However this one alone makes then all the same height.
    //// I do not want this but want the snippit of code above to work
    //// if possible
    table.setRowHeight(32);
    Thanks in advance....
    matt

    Hi bbrita
    Sorry for the confusion. But basically yes the code below in my system does NOT
    work. In my model i have
    public class ApplicationTableModel extends AbstractTableModel {
    //// other stuff here
    public void setApplicationData(SimpleApplication[] appData) {
    //// set the new data here
    this.fireTableDataChanged();
    and then it does call :
    tableChanged(TableModelEvent e)
    and in there i DO change the heights of the cells but they still all render the same height.
    The basic code snippits I am useing are:
    //// in my table model
    public class ApplicationTableModel extends AbstractTableModel {
    //// other stuff here
    public void setApplicationData(SimpleApplication[] appData) {
    //// set the new data here
    this.fireTableDataChanged();
    //// in the panel i create the table
    public class ApplicationDataTablePanel extends JPanel
    implements ListSelectionListener, TableModelListener {
    //// other stuff here...
    public ApplicationDataTablePanel() {
    appModel = new ApplicationTableModel();
    table = new JTable(appModel);
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    table.getSelectionModel().addListSelectionListener(this);
    table.getModel().addTableModelListener(this);
    // not used at the moment
    // table.setDefaultRenderer(Object.class, new MultiLineCellRenderer());
    this.add(new JScrollPane(table));
    public void tableChanged(TableModelEvent e) {
    System.err.println("GET Row count="+table.getRowCount());
    for (int i=0; i<table.getRowCount(); i++) table.setRowHeight(i,i*3+10);
    /// not used
    // table.invalidate();
    for (int i=0; i<table.getRowCount(); i++)
    System.err.println("HEIGHT="+table.getRowHeight(i));
    This does dump to the screen the following (i have triggered something in the
    system to update the model):
    GET Row count=5
    HEIGHT=10
    HEIGHT=13
    HEIGHT=16
    HEIGHT=19
    HEIGHT=22
    Which is what I expect BUT the cells do not change in height (they are all the
    standard size). This is what is baffling me because it seems to be the thing
    you suggested below but does not work. Which seems like exactly what
    should work.
    I was wondering if there was somewhere else in the event flow that I should be
    making these modifications or if I needed to for force any refresh or anything on
    the graph cells. ???
    Thanks so much for the help and any more you might have.
    matt

Maybe you are looking for

  • Windows 8.1 users: Visual studio 2013 design rendering issues

    Has any 8.1 user experienced this yet. I am pretty sure it' my laptop. John i know you was thinking about a yoga pro 2. Did you get One? Basically a form i wrote in 2010 from xp will appear massively different if ANY UI changes are made. The form wil

  • Error while downloading the PDF file on presentation server

    Hi all, i have converted OTF file into PDF one and then downloading it to the presentation server . But it gives the error as follows 'Access to file denied'    . Can anyone tell me what may be the issue ? Below is my code DATA: i_lines TYPE tline OC

  • Getting exception in cache server while inserting around 80,000 values

    Hi I am trying to insert 80,000 values in the cache in distributed mode(2 nodes) from .NET client then getting below error in .net client side. TcpConnection(Id=0x00000132F5B02F87AC190D2F6F41225F9F53C4584B06C624C3DCB23A6B005B41, Open=True, Member(Loc

  • Cannot install itunes and quicktime

    I get an error message during quicktime installation "cannot open key: HKEYLOCALMACHINE/Software/Classes/QuicktimePlayerlib.Quicktimeplayerapp/CLSID" Any suggestions what to do next.

  • 10.5.6 breaks kernel extention loading?

    I installed 10.5.6 update on my MBP (previous gen) not too long ago, and after a few restarts (perhaps only one? I don't restart often - usually sleep) it would get to the apple with spinning circle loading thing and stop. So I tried single user mode