Problem in  alignment of cell content in Advanced Table

Hi,
I have a column which has some flag say 'Y' or 'N'.
I have created an advanced table and followed the dev guide for aligning the value in the center of the cell.But i m getting null pointer exception when I m using getColumnFormats method of advanced table.
OAAdvancedTableBean resultsTableBean =(OAAdvancedTableBean)webBean.findChildRecursive("region2");
System.out.println("index"+pageContext.findChildIndex(resultsTableBean,"column1"));
OAColumnBean manuPartNoCol =(OAColumnBean)webBean.findChildRecursive("column1");
manuPartNoCol.setAttributeValue(ALIGNMENT_GROUP_ATTR,ICON_BUTTON_FORMAT);
resultsTableBean.prepareForRendering(pageContext);
// now get a handle on the array of Column Format Dictionaries
DataObjectList myColumnFormats = resultsTableBean.getColumnFormats();
System.out.println("myColumnFormats.getLength"+myColumnFormats.getLength());
// get a handle on the specific Column Format Dictionary you
// are interested in
oracle.cabo.ui.data.DictionaryData myIconColumnFormat = (oracle.cabo.ui.data.DictionaryData)
myColumnFormats.getItem(pageContext.findChildIndex(resultsTableBean,"column1"));
// set the CELL_NO_WRAP_FORMAT_KEY property to TRUE
myIconColumnFormat.put(COLUMN_DATA_FORMAT_KEY , ICON_BUTTON_FORMAT);
BUt if I use table bean instead of advanced table bean then the same code works.
Basically i have to set the alignment of the cells in the advanced table bean in the runtime.
Can anybody suggest something?
Thanks

Provide the error stack.
--Shiv                                                                                                                                                                                                                               

Similar Messages

  • Drag and Drop of cell content between 2 tables

    Hi Guys,
    Iam into implementing drag and drop of cell contents between 2 different tables,say Table1 and Table2.(Iam not dragging and dropping rows or cells,Just copying the content of one cell to another).
    Have extended the java tutorial class "TableTransferHandler" and "StringTransferHandler" under http://java.sun.com/docs/books/tutorial/uiswing/examples/dnd/index.html#ExtendedDndDemo to satisfy my needs.
    The drag is enabled for Table1 and table2 as follows.
    jTable1.setDragEnabled(true);
    jTable1.setTransferHandler(new TableTransferHandler());
    jTable2.setDragEnabled(true);
    jTable2.setTransferHandler(new TableTransferHandler());
    Dont be taken aback with the code I have put.It just to show what I have done..
    My questions are put at the end of the post..
    //String Transfer Handler class.
    public abstract class StringTransferHandler extends TransferHandler {
        protected abstract String exportString(JComponent c);
        protected abstract void importString(JComponent c, String str);
        protected abstract void cleanup(JComponent c, boolean remove);
        protected Transferable createTransferable(JComponent c) {
            return new StringSelection(exportString(c));
        public int getSourceActions(JComponent c) {
            return COPY_OR_MOVE;
        public boolean importData(JComponent c, Transferable t) {
            if (canImport(c, t.getTransferDataFlavors())) {
                try {
                    String str = (String)t.getTransferData(DataFlavor.stringFlavor);
                    importString(c, str);
                    return true;
                } catch (UnsupportedFlavorException ufe) {
                } catch (IOException ioe) {
            return false;
        protected void exportDone(JComponent c, Transferable data, int action) {
            cleanup(c, action == MOVE);
        public boolean canImport(JComponent c, DataFlavor[] flavors) {
              JTable table = (JTable)c;         
             int selColIndex = table.getSelectedColumn();
            for (int i = 0; i < flavors.length; i++) {
                if ((DataFlavor.stringFlavor.equals(flavors))&& (selColIndex !=0)) {
    return true;
    return false;
    }//TableTransferHandler classpublic class TableTransferHandler extends StringTransferHandler {
    private int[] rows = null;
    private int addIndex = -1; //Location where items were added
    private int addCount = 0; //Number of items added.
    protected String exportString(JComponent c) {
    JTable table = (JTable)c;
    rows = table.getSelectedRows();
    StringBuffer buff = new StringBuffer();
    int selRowIndex = table.getSelectedRow();
    int selColIndex = table.getSelectedColumn();
    String val = table.getValueAt(selRowIndex,selColIndex).toString();
    buff.append(val);
    return buff.toString();
    protected void importString(JComponent c, String str) {
    JTable target = (JTable)c;
    DefaultTableModel model = (DefaultTableModel)target.getModel();
    //int index = target.getSelectedRow();
    int row = target.getSelectedRow();
    int column = target.getSelectedColumn();
    target.setValueAt(str, row, column);
    protected void cleanup(JComponent c, boolean remove) {
    }Now I want to put in the following functionality into my program...
    [1]prevent dragging and dropping text in to the same table.That means I dont want to drag a cell content from Table1  and drop to another cell in Table1. Want to drag and drop cell content only from Table1 to Table2.
    [2]Change cursor on a un-defined Target. That means how to prevent a drag from a particular column in Table1.Also how to prevent a drop to a particular column in Table2. How to change the cursor to a "NO-DRAG" cursoror "NO-DROP" cursor.
    Could it be done using Drag Source Listener and drop Target Listener?.
    If yes,How can these listeners attached to the table and how to do it?
    If No,How Could it be done?
    [3]Want to change the background colour of the cell being dragged and also the background colour of the target cell where the drop is made...
    [4]Is there any out of the box way to make an undo in the target cell(where drop was made) so that the old cell value is brought back.
    How can I extend my code to take care of the above said things.
    Any help or suggestions is greatly appreciated.....
    Edited by: Kohinoor on Jan 17, 2008 10:58 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Guys,
    Iam into implementing drag and drop of cell contents between 2 different tables,say Table1 and Table2.(Iam not dragging and dropping rows or cells,Just copying the content of one cell to another).
    Have extended the java tutorial class "TableTransferHandler" and "StringTransferHandler" under http://java.sun.com/docs/books/tutorial/uiswing/examples/dnd/index.html#ExtendedDndDemo to satisfy my needs.
    The drag is enabled for Table1 and table2 as follows.
    jTable1.setDragEnabled(true);
    jTable1.setTransferHandler(new TableTransferHandler());
    jTable2.setDragEnabled(true);
    jTable2.setTransferHandler(new TableTransferHandler());
    Dont be taken aback with the code I have put.It just to show what I have done..
    My questions are put at the end of the post..
    //String Transfer Handler class.
    public abstract class StringTransferHandler extends TransferHandler {
        protected abstract String exportString(JComponent c);
        protected abstract void importString(JComponent c, String str);
        protected abstract void cleanup(JComponent c, boolean remove);
        protected Transferable createTransferable(JComponent c) {
            return new StringSelection(exportString(c));
        public int getSourceActions(JComponent c) {
            return COPY_OR_MOVE;
        public boolean importData(JComponent c, Transferable t) {
            if (canImport(c, t.getTransferDataFlavors())) {
                try {
                    String str = (String)t.getTransferData(DataFlavor.stringFlavor);
                    importString(c, str);
                    return true;
                } catch (UnsupportedFlavorException ufe) {
                } catch (IOException ioe) {
            return false;
        protected void exportDone(JComponent c, Transferable data, int action) {
            cleanup(c, action == MOVE);
        public boolean canImport(JComponent c, DataFlavor[] flavors) {
              JTable table = (JTable)c;         
             int selColIndex = table.getSelectedColumn();
            for (int i = 0; i < flavors.length; i++) {
                if ((DataFlavor.stringFlavor.equals(flavors))&& (selColIndex !=0)) {
    return true;
    return false;
    }//TableTransferHandler classpublic class TableTransferHandler extends StringTransferHandler {
    private int[] rows = null;
    private int addIndex = -1; //Location where items were added
    private int addCount = 0; //Number of items added.
    protected String exportString(JComponent c) {
    JTable table = (JTable)c;
    rows = table.getSelectedRows();
    StringBuffer buff = new StringBuffer();
    int selRowIndex = table.getSelectedRow();
    int selColIndex = table.getSelectedColumn();
    String val = table.getValueAt(selRowIndex,selColIndex).toString();
    buff.append(val);
    return buff.toString();
    protected void importString(JComponent c, String str) {
    JTable target = (JTable)c;
    DefaultTableModel model = (DefaultTableModel)target.getModel();
    //int index = target.getSelectedRow();
    int row = target.getSelectedRow();
    int column = target.getSelectedColumn();
    target.setValueAt(str, row, column);
    protected void cleanup(JComponent c, boolean remove) {
    }Now I want to put in the following functionality into my program...
    [1]prevent dragging and dropping text in to the same table.That means I dont want to drag a cell content from Table1  and drop to another cell in Table1. Want to drag and drop cell content only from Table1 to Table2.
    [2]Change cursor on a un-defined Target. That means how to prevent a drag from a particular column in Table1.Also how to prevent a drop to a particular column in Table2. How to change the cursor to a "NO-DRAG" cursoror "NO-DROP" cursor.
    Could it be done using Drag Source Listener and drop Target Listener?.
    If yes,How can these listeners attached to the table and how to do it?
    If No,How Could it be done?
    [3]Want to change the background colour of the cell being dragged and also the background colour of the target cell where the drop is made...
    [4]Is there any out of the box way to make an undo in the target cell(where drop was made) so that the old cell value is brought back.
    How can I extend my code to take care of the above said things.
    Any help or suggestions is greatly appreciated.....
    Edited by: Kohinoor on Jan 17, 2008 10:58 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Setting alignment of cell content in jtable??

    hi,
    does anybody know how i can set the content of my jTable cells to the center of each cell. thanx, mischa.

    Did you search the forum???
    Using keywords "+jtable +center" would be a good place to start.

  • Problem in color a cell for field symbol table.

    Hi guru's
    when i'm trying to color a cell based on condition, getting the following error.
    ERROR:   the data object  <line> has no structure and therefore no component called  "cell_colour" .
    providing my code here:
    DATA: wa_cellcolor TYPE lvc_s_scol,
             lv_index     TYPE sy-tabix.
       break satishkumarc.
       LOOP AT <table> ASSIGNING <line>.
         lv_index = sy-tabix.
         ASSIGN COMPONENT 'COMPLIANCE' OF STRUCTURE <line> TO <field>.
         IF <field> EQ 'YES'.
           wa_cellcolor-fname     = 'COMPLIANCE'.
           wa_cellcolor-color-col = col_positive.
           wa_cellcolor-color-int = 0.
           wa_cellcolor-color-inv = 0.
         ELSE.
           wa_cellcolor-fname     = 'COMPLIANCE'.
           wa_cellcolor-color-col = col_negative.
           wa_cellcolor-color-int = 0.
           wa_cellcolor-color-inv = 0.
         ENDIF.
         APPEND wa_cellcolor TO <line>-cell_colour.                                                     "   error line
         MODIFY <table> FROM <line>  INDEX lv_index TRANSPORTING cell_colour.      "  error line
         CLEAR: wa_cellcolor.
       ENDLOOP.
    actually i know  that  <line>-cell_colour  won't work. but i don't know how to achive this functionality .
    could anybody please help me out in this.
    Thanks in Advance.
    regards
    satish
    thank

    hi ashish,
    i'm using
    field-symbols: <line> type any.
    CREATE DATA  mydata  LIKE LINE OF <table>.
           ASSIGN mydata->* TO <line>.
    to make the structure. so i guess i cannot give the structure name while declaring <line>.
    Thanks & regards
    satish

  • How do I get my cell from a Advanced table to a OAMessageStyledTextBean?

    I have some validation logic that includes taht loop of my VO before I save. The loop works fine an I use RowSetIterator.
    I want to use pageContext.putAttrDialogMessage to show the message next to the field with the invalid value.
    The code below that I found does what's need on a regular form (no table):
    OAWebBean rootWebBean = pageContext.getRootWebBeaan();
    OAMessageTextInputBean textField = (OAMessageTextInputBean) rootWebBean.findChildRecursive("<<message styled text id>>");
    if(<<your error condition>>)
      OAAttrValException attrEx = new OAAttrValException(
        OAAttrValException.TYP_VIEW_OBJECT, // Just default it to ViewObject
        textField.getViewUsageName(),       // View Usage Name as null
        null,                               // The primary key as null
        textField.getViewAttributeName(),   // The attribute name
        value,                              // The attribute bad value which caused validation failure
        "FND",                              // Message application short name
        "ATTR_EXCEPTION_MSG");              // Message code
    pageContext.putAttrDialogMessage(textField, attrEx);
    {code}
    The issue I have is with this row:
    {code:java}OAMessageTextInputBean textField = (OAMessageTextInputBean) rootWebBean.findChildRecursive("<<message styled text id>>");{code}
    How can I get the current row-cell value to a OAMessageTextInputBean obejct?
    Thanks.
    Daniel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Daniel, don't get disheartened. Every framework has its pros and cons and any new framework with which you start, it takes some times to learn and know its programming benefits. In your particular requirement, it can only be fulfilled if you are using EOimpl or VORowImpl, it can not be done directly in CO, AS your validation logic is at row level. Hence, if you are not using EO/VO, you have to use them in order to show error message on the particular UIX bean, and that the recommended approach. Thats the reason, why nobody before has such a requirement.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • UITableView can´t reload cell contents

    Hi,
    I´m trying to reload the table view using [tableView reloadData]; and it works fine, the table view reloads its data. The problema is that the cell contents don´t change.
    When I create the cells at cellForRowAtIndexPath, I use:
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
    if(cell == nil){
    cell = [self reuseTableViewCellWithIdentifier:identifier];
    When I reload the data, the cells keep the same identifier, but it shouldn´t. Is there anyway to complete clear all the references between the cells and its identifiers and then reload the table view?
    Thanks,
    Pitteri

    Hi, the identifier is not ment to identify a single cell but a specific type of cell. Each cell of the same type should have the same identifier. So even a cell is reused, you still have to set it's content to be displayed correctly.
    It's absolute correct that the identifier stays the same on reload.

  • Background color change of a column in Advance table

    Hi,
    We have requirement to change the background color of column in advance table based on some condition. We tried putting code to change background color in Custom.xss using background-color property and setting newly created css dynamically based on condition but it seems it only changes the background color of text not the complete cell. We want to change the color of complete cell in an advance table.
    Please let me know if there is any other way I can achieve this requirement. Any help would be highly appreciated.
    Thanks

    <FONT FACE="Arial" size=2 color="2D0000">
    Pls look into "Alter Table"section.
    LOB_storage_clause
    This might help
    -SK
    </FONT>

  • Required code to modify contents of a table

    Hi All,
    I want to create a class which i can use in Web Application Designer to modify content of a WEB Query Table.
    For that i am using table interface property of WAD. Here is my scenario:
    In table where ever i got 999999 it has to be replaced by 'DNA' (Data Not Available).
    For that i created a class ZCL_RSR_WWW_MODIFY_TABLE which inherit superclass CL_RSR_WWW_MODIFY_TABLE
    Now in the Method DATA_CELL i need to write some code so that it must replaces the data cell content of the table as said above.
    Please go through this link so that you will be clear of what i am asking ?
    http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/frameset.htm
    Regards,
    Rajkandula

    Solved Myself with little coding.

  • Problem in cell content of alv grid ...

    hi all,
         i want to get the cell content of alv grid in the handle method of event data_changed of cl_gui_alv_grid,
    i using the following code ...
    METHOD on_data_changed.
    DATA : lv_value(30) TYPE c.
    CALL METHOD ER_DATA_CHANGED->GET_CELL_VALUE
      EXPORTING
        I_ROW_ID    = 3
       I_TABIX     =
        I_FIELDNAME = 'cname'                                                                                "" my column table
      IMPORTING
        E_VALUE     = lv_value.
    MESSAGE lv_value TYPE 'I'.
        ENDMETHOD.
    endclass.           
    but i cant get the value of cell content
    Edited by: parashuram on Oct 21, 2011 3:49 PM

    Try this way
        method handle_data_changed.
          perform handle_data_changed using er_data_changed.
        endmethod.
    form handle_data_changed using p_data_changed type ref to
                                   cl_alv_changed_data_protocol.
      data: ls_mod_cell  type lvc_s_modi,
              lv_value_dni type lvc_value.
      loop at p_data_changed->mt_mod_cells into ls_mod_cell.
        call method p_data_changed->get_cell_value
          exporting
            i_row_id    = ls_mod_cell-row_id
            i_fieldname = 'FINI_SUST' <== Your field
          importing
            e_value     = lv_value_dni .
      endloop.
    endform.

  • How to extract characters or digits from cell content

    Hi,
    I'm trying to find out how I can grab a part of a cell content. Example: The cell has the content "1.22.333".
    Now, I need to just grab the last part of that (and sometimes also the middle part). I tried to use the FIND and RIGHT function but the problem is that they need the amount of digits which can be different (1.2.3 or 1.22.333).
    How can I grab/calculate just the "1" or "22" or "333" from that?
    p.

    Hi papa,
    Here is a workaround, but it involves a word processor such as Pages or Word.
    Copy your cells and paste into a blank word processor document.
    In Pages, go to:
    Menu > Edit > Find > Find...
    Click on the Advanced button.
    Type a full stop ('period' in AmericanSpeak) in the Find box.
    In the Replace box, use the 'Insert' Pop-up menu to insert a Tab.
    Replace All.
    Copy and paste into blank cells in Numbers:
    How can I grab/calculate just the "1" or "22" or "333" from that?
    Grab what you want!
    Regards,
    Ian.

  • Is it possible to use wildcards to match cell contents in an if statement?

    I need to return a ID along with some other information on a page by page basis, so that the information comes out linked by position.  I use a couple of loops and if statements to navigate through the document.  I am able to use exact matches of cell contents which is fine when the contents doesn't vary.  But the IDs, though they have a similar pattern, are all different. In a menu driven search, I am able to find what I need with '150^9^9^9^9^9-^9^9^9' But when I try putting this (or any number of [0-9], *, ? combinations) it fails.  Is it possible to use wildcards?  The symbol used for the match (==) makes me suspect that it is not possible and that only literal, exact matches will work.  But I wanted to check with the experts before giving up.
    Thanks
    pcbaz

    Thanks for the input.  You're right, a GREP search is much more efficient.  But what I'm trying to do and the circumstances here don't allow me, I think,  to go that route. I am trying to generate a list of values coming from several textframes on a single page and have them come out so that I can tell which values belong together.
    I'm using an inherited document with masters that were created 'manually';  the index numbering for textframes and tables is random. I navigate through the pages, looping through textframe indices asking ' does this textframe exist?' If so, I ask if it is a table -- if no, it is a simple textframe and I ask about the ID, if yes, I ask if the contents of cell (0,0) (invariant position and contents) are equal to the table I want..  I am sending the ID and other pieces of information from the table to one row of a new table on a new page.  So the ID and other information from a single page are linked by being in the same row.
    I know this a little 'off-normal' -- I'm using the search to navigate through the document and find things by location the way you do with a spreadsheet.  I have devised a work-around that helps me get around the fact that the ID is not invariant.  I create a list of the (exact) IDs from another document, equating them to a variable ('a').  I then loop through the list of IDs and ask if the contents of the textframe is equal to 'a'..This works o.k, unless there happens to be an extra space, a different kind of hyphen, etc. It would be so much easier if I could use the wildcards that work in a menu-driven text or GREP search in script just to ask about the contents of the textframe.
    Thanks again
    pcbaz (Peter BIerly)
    P.S. we have since rewritten the masters so this problem will not exist in the future -- we now know exactly which textframe and/or table indices to refer to to get any particular bits of information and don't need to ask questions about the contents.

  • Adjusting Space between table - cell border and cell content ?

    Hi all,
    Need a quick help.
    I am using a static table. By default, I have some space between the cell content and the text (yes, the cell margins).
    I wanted to reduce this space to '0'.
    Is there any option to adjust the cell margins? Thanks in advance !!
    1 more Q:-
    There are no options to merge 2 cells, are there ?
    Thanks,
    Navin.
    Edited by: 890074 on Mar 4, 2012 10:17 PM

    Hi Naveen,
    Until Documaker 11.5, there are no options to reduce the cell margin and no options to merge cells as well.
    Thanks.

  • Copy cell content in OBIEE 11g

    I am unable to copy the cell content from OBI dashboard.
    Is this OBIEE 11g bug? I am using OBIEE 11.1.1.6.0
    Any way to resolve this ??
    Thanks in Advance !!

    Hi,
    This workaround may not be the best but might serve the purpose.
    I selected a cell and created a group for the value. Then I selected that group and viewed it's definition. This showed me a single value (which I wanted to copy). I copied the value and pasted to another application.
    This worked in analysis as well as on dashboard. I could create a group of more than one cell and copy all the values of that new group to paste to another application.
    I then deleted the groups. While using dashboard, I simply clicked 'Back' or 'Return' to remove the groups automatically.
    Manoj.

  • Change the default setting of 'Match entire cell contents' in Excel 2007

    Hi,
    I am using Excel 2007 on Windows 7 and need to search the contents of cells in a large spreadsheet on a regular basis.
    When I open the Find and Replace dialogue box, the Match entire cell contents option is always checked. I deselect this to search for the cell contents I require. If I then enter any values into a cell and try to search for another cell,
    the Match entire cell contents option is activated again.
    Is there a way to change the default setting for this checkbox to be off rather than on?
    Thank you,
    Nitin Suneja

    Hi Chad,
    I will check if it is something localised to the spreadsheet itself as it is shared by a number of people and all are having this problem with this sheet.
    Thanks for looking into this for me.
    Nitin.

  • Cell content never change in "calendar" in Numbers

    I am tracking intraday profit in Numbers, I am using the template “calendar”. Problem is cell content stays the same in each month. What formula to use?

    When you change the pop-up you are only changing the month the table shows.  If does NOT store what you enter in a special place for each month.
    I think you would find it easier to simply enter the daily information into a list which is summarized in a single table like this:
    Make two tables:
    1) called "Information" as shown on the left, above
    2) called "Summary" as shown on the right, above
    For the table on the left, titled "Information":
    make the first two rows a header using the Table formatter:
    And set up as show in the first image I posted.
    Now expand the size of the table by selecting column A (click the letter "A" at the very top of the table) and add addiitional rows by holding the command and option keys which pressing the down arrow until there are at least 365 rows.
    A3=DATE($B$1,1,1)+DURATION(0,1)×ROW()−3
    this is shorthand for... select cell A3, then type, or copy and paste from here, the formula:
    =DATE($B$1,1,1)+DURATION(0,1)×ROW()−3
    type the enter key.  Now select cell A3, again, copy
    now select  column A by click the letter "A" at the very top of the column.  now hold the command key and click cell A1, and A2 to unselect them.
    paste
    you will enter the daily amounts in column B.
    Now let's create the summary table.  Add a new table and size as show on the right in the first image of this post.  Make the first row a header.
    in cell A2 type "January" without the double quote
    now fill this down to enter the months by hovering the cursor over the bottom edge of the cell and dragging the yelow circle down
    B2=SUMIFS(Information::B,Information::A,">="&DATE(Information::$B$1, ROW()−1, 1), Information::A, "<="&EOMONTH(DATE(Information::$B$1, ROW()−1, 1),0))
    this, again, is shorthand for select cell B2, then type (or copy and paste from here) the formula:
    =SUMIFS(Information::B,Information::A,">="&DATE(Information::$B$1, ROW()−1, 1), Information::A, "<="&EOMONTH(DATE(Information::$B$1, ROW()−1, 1),0))
    now select cell B2, then copy
    select column B, then unselect cell B1 (by command  + click), then paste

Maybe you are looking for

  • Multiple sales deal for a line item in the order

    Hi, We are planning to use sales deals but i'm wondering as the sales deal is entered at condition record level, If i have one line item on an order and that this line item will have several sales deal eligibible (several condition records with diffe

  • Dynamic Call to VIT that is a member of a LabVIEW Library (LVLIB)

    Application is too complicated to post, so I will describe this in basic terms .. Consider these VIs as members of an lvlib.    Template.VIT    Template Launcher.vi    func1.vi 'Template.VIT' and 'Template Launcher.vi' are public members of the lvlib

  • JDBC sender adapter issue

    Hi SDNers, I have a scenario which picks data from AS400 table using JDBC adapter. My sample SQL query and update query are as follows SQL query : Select * from <table> where <keyfield> = min(keyfield) and flag =""; Update query: Update <table> set f

  • Help on Field Validation

    Hi Gurus, In Leads details page, we have a pick list field as 'Archive Reason' (Custom Field), couple of pick list values are 'Referred Out' 'Referred-Does not meet AUM min'. Per our business requirement, when users select Archive Reason as one of th

  • HT1369 All my Apple stuff are not working with my new window 8, what can I do?

    I have switched Windows 7 to Windows 8 two days ago, but I did not have any back up, therefore I lost everything from the harddrive, now I try to download videos again to all my Apple stuff, but I can not do that, how come? Please help, thank you.