Changing multiple cell values via pop-up?

hi.
back again
I'm reworking my cost estimate sheet and would like to know if the following idea is possible: [the .numbers will probably explain it better than i can]
http://web.me.com/jeffhammond/numbersQ_2.numbers
generally, i will enter unit costs on a job to job basis (or at least spot check pricing per region).. i'll still do this but i'd like to keep the editing off the estimate table and do it on a separate table.. the main reason is that i'll often have to change every cost due to the material requirements.. same dimensions etc but certain jobs require weather resistant materials/hardware.. i'd like to simply switch the type of job on the estimate sheet and bring the correct pricing in.
I'm also not positive that all materials on the estimate sheet will maintain their current position.. i may have to special order something (6x6 -24' ?) for whatever reason in which i'd usually insert it under the post materials.. if need be, i guess i could add any special order materials to a designated are so as not to change any cells.
fwiw, a complete material list will often have over 100 separate item types being ordered from multiple sources.. my main material list has around 450 individual items that i can choose from/order.. (but i have a nice little setup in place to filter only ordered materials and for obtaining individual pdfs per outlet which includes only items they sell).. point being, my example .numbers wouldn't be worth implementing something like this but the real list is more intense.
any ideas?
thanks
jeff

Hi Jeff,
I'm beginning to develop a strong dislike for this forum's new interface!!
But that's not your fault.
The tables below use a VLOOKUP formula to retrieve the prices from the Current Pricing, and an IF statement in E1 to determine which column the prices are fetched from.
The added column isn't necessary; it was just simpler t do that than to go through the hassle of re-merging the single cell in Row 1. With a change of the cell reference in the VLOOKUP formula, the first formula can be placed anywhere convenient.
In E1:
=IF(LEFT(A1,1)="I",2,3)
The result of this formula tells VLOOKUP to return the results from column 2 or 3 of the Current Pricing table, depending on the first letter of the text in A1 being an "I".
In C3 and Filled Down:
=IF(B>0,VLOOKUP(A,Current Pricing :: $A:$C,$E$1,FALSE),"")
IF is used to return a null string unless there is a value greater than zero in column B.
Looks for the item listed in Column A and returns the value from the row where that item is found and the column specified in E1.
The error triangle in C9 is a "VLOOKUP cannot find.." error cause by the value '3” screws (25lb box)' not being found in column A of Current Pricing.
The error triangle in D9 is "There is an error in C9".
Regard,
Barry
PS: The line at the beginning?
I had complete all but the last line of a previous version of this post, and was deleting the '3" screws..." bit which had pasted as a single cell unnamed table, when the software bumped me back to the previous thread in this community. Not the first time this has happened, and in this case, as in the ones before, there appeared to be no route back to my partly completed message. So it was start over time. (/rant)
B

Similar Messages

  • Trying to get multiple cell values within a geometry

    I am provided with 3 tables:
    1 - The GeoRaster
    2 - The geoRasterData table
    3 - A VAT table who's PK is the cell value from the above tables
    Currently the user can select a point in our application and by using the getCellValue we get the cell value which is the PK on the 3rd table and this gives us the details to return to the user.
    We now want to give the worst scenario within a given geometry or distance. So if I get back all the cell values within a given geometry/distance I can then call my other functions against the 3rd table to get the worst scores.
    I had a conversation open for this before where JeffreyXie had some brilliant input, but it got archived while I was waiting on Oracle to resolve a bug (about 7 months)
    See:
    Trying to get multiple cell values within a geometry
    If I am looking to get a list of cell values that interact with my geometry/distance and then loop through them, is there a better way?
    BTW, if anybody wants to play with this functionality, it only seems to work in 11.2.0.4.
    Below is the code I was using last, I think it is trying to get the cell values but the numbers coming back are not correct, I think I am converting the binary to integer wrong.
    Any ideas?
    CREATE OR REPLACE FUNCTION GEOSUK.getCellValuesInGeom_FNC RETURN VARCHAR2 AS
    gr sdo_georaster;
    lb blob;
    win1 sdo_geometry;
    win2 sdo_number_array;
    status VARCHAR2(1000) := NULL;
    CDP varchar2(80);
    FLT number := 0;
    cdl number;
    vals varchar2(32000) := null;
    VAL number;
    amt0 integer;
    amt integer;
    off integer;
    len integer;
    buf raw(32767);
    MAXV number := null;
    r1 raw(1);
    r2 raw(2);
    r4 raw(200);
    r8 raw(8);
    MATCH varchar2(10) := '';
    ROW_COUNT integer := 0;
    COL_COUNT integer := 0;
    ROW_CUR integer := 0;
    COL_CUR integer := 0;
    CUR_XOFFSET integer := 0;
    CUR_YOFFSET integer := 0;
    ORIGINY integer := 0;
    ORIGINX integer := 0;
    XOFF number(38,0) := 0;
    YOFF number(38,0) := 0;
    BEGIN
    status := '1';
    SELECT a.georaster INTO gr FROM JBA_MEGARASTER_1012 a WHERE id=1;
    -- first figure out the celldepth from the metadata
    cdp := gr.metadata.extract('/georasterMetadata/rasterInfo/cellDepth/text()',
    'xmlns=http://xmlns.oracle.com/spatial/georaster').getStringVal();
    if cdp = '32BIT_REAL' then
    flt := 1;
    end if;
    cdl := sdo_geor.getCellDepth(gr);
    if cdl < 8 then
    -- if celldepth<8bit, get the cell values as 8bit integers
    cdl := 8;
    end if;
    dbms_lob.createTemporary(lb, TRUE);
    status := '2';
    -- querying/clipping polygon
    win1 := SDO_GEOM.SDO_BUFFER(SDO_GEOMETRY(2001,27700,MDSYS.SDO_POINT_TYPE(473517,173650.3, NULL),NULL,NULL), 10, .005);
    status := '1.2';
    sdo_geor.getRasterSubset(gr, 0, win1, '1',
    lb, win2, NULL, NULL, 'TRUE');
    -- Then work on the resulting subset stored in lb.
    status := '2.3';
    DBMS_OUTPUT.PUT_LINE ( 'cdl: '||cdl );
    len := dbms_lob.getlength(lb);
    cdl := cdl / 8;
    -- make sure to read all the bytes of a cell value at one run
    amt := floor(32767 / cdl) * cdl;
    amt0 := amt;
    status := '3';
    ROW_COUNT := (WIN2(3) - WIN2(1))+1;
    COL_COUNT := (WIN2(4) - WIN2(2))+1;
    --NEED TO FETCH FROM RASTER
    ORIGINY := 979405;
    ORIGINX := 91685;
    --CALCUALATE BLOB AREA
    YOFF := ORIGINY - (WIN2(1) * 5); --177005;
    XOFF := ORIGINX + (WIN2(2) * 5); --530505;
    status := '4';
    --LOOP CELLS
    off := 1;
    WHILE off <= LEN LOOP
    dbms_lob.read(lb, amt, off, buf);
    for I in 1..AMT/CDL LOOP
    if cdl = 1 then
    r1 := utl_raw.substr(buf, (i-1)*cdl+1, cdl);
    VAL := UTL_RAW.CAST_TO_BINARY_INTEGER(R1);
    elsif cdl = 2 then
    r2 := utl_raw.substr(buf, (i-1)*cdl+1, cdl);
    val := utl_raw.cast_to_binary_integer(r2);
    ELSIF CDL = 4 then
    IF (((i-1)*cdl+1) + cdl) > len THEN
    r4 := utl_raw.substr(buf, (i-1)*cdl+1, (len - ((i-1)*cdl+1)));
    ELSE
    r4 := utl_raw.substr(buf, (i-1)*cdl+1, cdl+1);
    END IF;
    if flt = 0 then
    val := utl_raw.cast_to_binary_integer(r4);
    else
    val := utl_raw.cast_to_binary_float(r4);
    end if;
    elsif cdl = 8 then
    r8 := utl_raw.substr(buf, (i-1)*cdl+1, cdl);
    val := utl_raw.cast_to_binary_double(r8);
    end if;
    if MAXV is null or MAXV < VAL then
    MAXV := VAL;
    end if;
    IF i = 1 THEN
    VALS := VALS || VAL;
    ELSE
    VALS := VALS ||'|'|| VAL;
    END IF;
    end loop;
    off := off+amt;
    amt := amt0;
    end loop;
    dbms_lob.freeTemporary(lb);
    status := '5';
    RETURN VALS;
    EXCEPTION
        WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20001, 'GENERAL ERROR IN MY PROC, Status: '||status||', SQL ERROR: '||SQLERRM);
    END;

    Hey guys,
    Zzhang,
    That's a good spot and as it happens I spotted that and that is why I am sure I am querying that lob wrong. I always get the a logic going past the total length of the lob.
    I think I am ok using 11.2.0.4, if I can get this working it is really important to us, so saying to roll up to 11.2.0.4 for this would be no problem.
    The error in 11.2.0.3 was an internal error: [kghstack_underflow_internal_3].
    Something that I think I need to find out more about, but am struggling to get more information on is, I am assuming that the lob that is returned is all cell values or at lest an array of 4 byte (32 bit) chunks, although, I don't know this.
    Is that a correct assumption or is there more to it?
    Have either of you seen any documentation on how to query this lob?
    Thanks

  • PMS - Is it possible to log changes in cell values/comments in appraisal?

    Hi,
    One of our requirement is to log the date and time of when the comments section is updated in an appraisal form. I could see the logging enabled in standard allows to view the status changes and associated information. Similarly, is the appraisal form cell value/comment changes are logged? or is there any config we should do to enable this?
    Appreciate your inputs!
    Thanks
    Karthik

    it is very much possible. you need to take the help of IA and MA for this. let me know if you have any questions here

  • How to change the cell value in Excel Sheet in WD Java?

    HI,
    I have an application which is used to upload and download excel sheet.I can upload the excel sheet through Upload UI element and also able to download the same file through Download UI.But before download I want to validate the excel sheet.If data is not proper in the excel then I have to put some comment (cell comment).I am able to read each cell value,but not ble to put any comment.Once I pt commen in the cell,the download file should display the commented in the excel sheet.
    Please let me know how to update hte excel sheet.
    Sandip

    hi Sandeep,
    I'm not sure about the HSSF apis, however, i inserted the Cell Comments using jexcel apis. There is a method setComment(java.lang.String s, double width, double height) in class WritableCellFeatures using which you can insert cell comments
    For more details refer [link|http://jexcelapi.sourceforge.net/resources/javadocs/current/docs/jxl/write/WritableCellFeatures.html]
    Abhinav

  • Write multiple metadata values via WebDAV

    Hi All,
    When we  try to write KM-properties with WebDAV.
    At the moment writing of properties with simple values is working (e.g. document_year --> 2009), but properties with multiple values (e.g. document_country --> DE, EN, FR) not.
    Even when we try to read such values and write them unchanged back to the KM, the KM can't use them any more. Instead of showing the properties in the portal, I get the XML code displayed.
    Please Help !!

    Or, actually, the response for the PROPFIND, and the request body for PROPPATCH.
    (is this a custom WebDAV client?)

  • Multiple cells that reference one value

    Hey guys -
    Still new to formulas - any help would be appreciated.
    I have a cell on table 1, with the cell value duplicated in other tables / sheets in my document. For example, Cell A1 in tables 2 & 3 is referencing back to table 1, using the formula =Sheet 1 :: Table 1 :: A1.
    Is there a way to change the cell value in tables 2 or 3, and have it change the value in the others? (this would help me, since I have multiple sheets that I have referencing this value, and it would be easier to not have to keep changing sheets to change the value in the original cell, on sheet 1.)
    Thanks
    Jeremy

    Using a script would be easier if the value is typed in a display dialog.
    The main problem is that it would be needed to know the tables ID.
    The OP wrote :
    I have a cell on table 1, with the cell value duplicated in other tables / sheets in my document.
    So, he must tell if every sheets of the document are containing a target table and if the target tables have the same name.
    If the answer to these questions is YES, this skeleton may be used:
    --{code}
    set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName
              tell sheet sName to tell table tName
                        set theValue to value of cell rowNum1 of column colNum1
              end tell
              set lesFeuilles to name of sheets
              repeat with s from 1 to count of lesFeuilles
                        set aSheet to item s of lesFeuilles
                        if aSheet is not sName then set value of cell rowNum1 of column colNum1 of table tName of sheet aSheet to theValue as text
              end repeat
    end tell
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parle_anglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parle_anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_anglais
    --=====
    --{code}
    CAUTION, we can't apply this scheme if values are dates.
    I already explained why, I will not repeat.
    This is why my preferred choice would be to type the value in the script.
    --{code}
    Grab the parameters defining the selected target cell *)
    set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    Type the string *)
    set theValue to text returned of (display dialog "Type the value to insert" default answer "what we are supposed to type")
    Fill the cells with the same reference in every table with the same name in every sheets *)
    tell application "Numbers" to tell document dName
              set lesFeuilles to name of sheets
              repeat with s from 1 to count of lesFeuilles
                        set value of cell rowNum1 of column colNum1 of table tName of sheet (item s of lesFeuilles) to theValue as text
              end repeat
    end tell
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parle_anglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parle_anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_anglais
    --=====
    --{code}
    Yvan KOENIG (VALLAURIS, France) jeudi 2 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Maintaining editable state in multiple cells on datagrid

    Hi,
    I'm looking to create a component, (and from the tutorials
    i've read, i imagine a datagrid would be best) where i can change
    multiple cells, keep them in an editable state (visual reminder of
    changes made as well as functionally editable) - and to then flush
    the changes through with a keystroke - just hitting return
    basically. the component would be recieving push data through
    httpservices/webservices, and the user will send adjustments back,
    usually multiple changes at once. i've looked at item renderers,
    but that seems to control more the format/appearance of a component
    than its functions?
    Is this possible to do in flex? i'm assessing alongside gwt,
    and trying to figure just how lowlevel the customisation can go in
    flex. any ideas/tutorials/examples would be very much appreciated,
    cheers!

    Hi,
      Refer the sample code
    https://forums.sdn.sap.com/click.jspa?searchID=12153389&messageID=1593610
    Regards
    Kiran Sure

  • Rules applied to multiple cells trigger color changes when any of the cells

    "Rules applied to multiple cells trigger color changes when any of the cells meet the rule’s condition." That's what Help says, but when I follow the directions, it doesn't work. This is in Numbers 08.
    I have a table where the contents of one column are either "YES" or "NO", depending on formulas using variables from other cells. If YES, I want the fill of that cell and that of two adjacent cells to change from white to green. I select all three cells and use conditional format rules for "text contains:" YES, then choose my fill color. When I return to the table and introduce values for the variables that trigger the rule, only the cell in the YES/NO column changes to green; the other two remain white.
    While I am spreadsheet challenged, I usually can follow directions as plain as those in Help, but it's not working. I couldn't find anything in the discussions after an hour of searching. Is this a known problem or am I just stupid?

    For what it's worth, that's the way I read that line in the User Guide as well. What it actually appears to mean, though is 'Rules applied to multiple cells apply independently to each of the cells."
    Here's a workaround for your three adjacent columns. Long, but fairly simple steps.
    Add a second table to the sheet (Table 2).
    Resize the second table to one column wide and as many rows as you want to apply the conditional format to.
    Set the width of the column to the same width as the three columns you want to highlight, and the row height(s) to match the rows.
    Format to table to have NO Header or Footer row or column.
    Use the Wrap Inspector to uncheck "Object causes wrap"
    In the first top cell of Table 2, enter an = sign, then Click on Table 1 in the sidebar, Click on the first cell that will hold YES or NO.
    Fill the formula down the rest of Table 2.
    With all cells in Table 2 selected, use the Cell Format inspector to set the 'text contains yes' rule and the conditional fill colour for these cells.
    Test the conditional formating by introducing values into Table 1.
    Click on Table 1 in the sidebar, then use the Table inspector to set Cell Fill to 'none'.
    Click on Table 2 in the sidebar, then drag that table onto table 1 aligning it to cover the cells in which the conditional formating is to appear.
    When positioned (and still selected), go to the Arrange menu and Send Backward to move Table 2 behind the (transparent) cells in Table 1.
    With Table 2 still selected, click on the Cell Borders color well and set the Opacity of the borders to 0%.
    Click the Text inspector and set the Text colour Opacity for Table 2 to 0%.
    Regards,
    Barry

  • How to Sort Dimension in Pivot Table via Order Column which is changing like Factual values

    Hi,
    Recently in of our product offerings we got stuck on this following question:
    How to Sort Dimension based on the Order Value which Keeps Changing with Factual Values??
    We have a data source laid out as (example)
    In the above the “Order” columns are changing per
    Company/(DimensionA) for DimesnsionB.
    Instead what we want is: (But only if we can get the following result without putting the “Order” Column in the “Values” Section. 
    If there are any configurations that we can make to our power pivot model for the similar data set so that the
    DimesnionB in this case can be sorted by the Order column, would be greatly helpful to us. 
    Sample File:
    http://tms.managility.com.au/query_example.xlsx
    Thanks
    Amol 

    Hi Amol,
    According to your description, you need to sort dimension members in Pivot Table via order column, and you don't want the order column show on the Pivot table, right?
    Based on my research, we can sort the data on the Pivot table based on one of the columns in that table, and we cannot sort the data based on the columns that not existed on the Pivot table. So in your scenario, to achieve your requirement, you can
    add the column to pivot table and hide it.
    https://support.office.com/en-gb/article/Sort-data-in-a-PivotTable-or-a-PivotChart-report-49efc50a-c8d9-4d34-a254-632794ff1e6e
    Regards,
    Charlie Liao
    TechNet Community Support

  • How do you change multiple 'Video Kind' values at once?

    Hello,
    first of all, sorry if this has already been asked, but I tried searching for a straight answer in here and in other forums without any luck..
    .. but I was wondering if there is a way to select multiple videos, and change their video kind to something else, all at once(eg. from Movie to Music Video)...
    ...When I select a group of videos and click get info, it doesn't give me the option to change the video kind, so I've had to change each one, one at a time, (which gets very tiresome :P)...
    ...so is there a way to change multiple 'Video Kind' values at once, or should I pray that it becomes available in the next update of iTunes?
    Pentium 4 3.0 ghz Windows XP

    You can't do it right now. Wait for the next update, and hope it's there.
    For the moment, I suggest selecting Get Info on one song, changing the setting, then hitting the next button at the bottom to go right to the Get Info for the next song. You can rapidly change lots of these that way.

  • Change background color of a table based on table cell values quickly.

    Is there a more effecient way to change the background color of a table based on the cell values of the table?
    I can do this cell-by-cell using the property node, but it is very slow. It helps a little by deferring panel update, but it is still slow. Is there a better way? 
    Thanks.
    Ian

    If you want to color each cell according to the value, you need to do it one cell at a time and the above answers don't apply.
    You can dramatically speed up things by defering front panel updates for the duration of the operation.
    (sample code can be seen in the top picture here)
    EDIT: I noticed you tried this already. Can you show us your code?
    How many cells need to be colored on average?  If there are not that many, first write the background color using -2,-2, the only write the few cells to be colored, skipping the rest.
    How big is the table? If it is much bigger than the table indicator, all you need is to color the visible parts whenever the data or the scroll position changes.
    LabVIEW Champion . Do more with less code and in less time .

  • Changing open() flag  FNDELAY via fcntl(). How to know new value?

    When driver executes open (man -s9e open) entry program it knows open mode
    "flags" such as FEXCL, FNDELAY, FREAD, WRITE. But after open was made these
    parameters can be changed by user application via fcntl() (man -s2 fcntl)
    call.
    How to know from driver the new values of these parameters? How to know
    the moment of changing?
    Thank you.

    Just I found that current mode is in uio_fmode field of uio structure (man -s9s uio).
    But how to obtain the moment of changing?
    Thank you.

  • Change value via Iterator

    Hi,
    i have a code:
    Iterator<? extends LatLon> foobar = subsetBuffer.getLocations().iterator();
                    while(foobar.hasNext())
                        LatLon coo = foobar.next();
                        LatLon popcoo = XProj.GKSlo2WGS84(coo.getLatitude().getDegrees(), coo.getLongitude().getDegrees());
                        coo = popcoo;
                        System.out.println(popcoo);
                    }Where i get iterator and do something with its value (popcoo) and then i want to save that popcoo back to iterator. You know what i mean? I want to change value via iterator.
    Line coo = popcoo, doesn't work. How should i do that?

    Ivansek wrote:
    What if i have a iterator like this:
    Iterator<double[]> foo2 = subsetBuffer.getCoords().iterator();
    if i say here foo2.next()[0] = 2, the value doesn't write back into that variable.Yes, that change will be reflected in your original collection.
    What you seem to be confusing is that in one case you would like to change the collection to contain a different object, while in the other case you want to modify an object that is contained in the collection:
    Can i somehow transform double[] data type to Double[]? You can't, except by creating a new Double-array, so you couldn't influence the original object in any way.
    Then i could change a value, right?No, there's no difference between double and Double in this respect.

  • JTable cell value doesn't change with user input

    I'm making a program that uses a custom table model (extends AbstractTableModel). The problem is when I type a value in one of the table cells, then press enter (or click outside the cell), the value goes back to what it was originally. So for example, a cell has "oldvalue", I type in "newvalue", press enter, and now the cell still reads "oldvalue". I figured the renderer would automatically update the cell by calling MyTableModel.setValueAt (...), but maybe I need a listener to do this? let me know. thanks

    alright, well basically I'm making a database manager
    and thought it would be easier to extend
    AbstractTableModel and then do all the queries inside
    the methods instead of listening for events. Second
    thing, I put a debug statement and setValueAt never
    gets called when you type in a new cell value. How
    does it update the cell then is my question?It's your TableModel bug but a much better advice would be that you should use
    DefaultTableModel instead of extending AbstractTableModel. The DefaultTableModel
    is usually more than enough for an ordinary JTable application.
    The simplest and standard way of handling DB data from JTable is updating
    vectors for DefaultTableModel data with your new DB data set. You don't need
    to worry about low-level event firing, cell editor control etc. if you use
    DefaultTableModel. See API documentation of DefaultTableModel closely.

  • Conditional Formatting - how to change cell colour based on cell value

    I am in the process of moving some Excel spreadsheets into Numbers on my iPad. The Excel spreadsheet had conditional formatting in certain cells. If the cell value was less than a certain amount (<46 for example), the cell background would automatically turn yellow.
    Is there any way to make Numbers on iPad do this?
    Thanks for any help you can provide.
    Scott

    I beleive this is one of those doable tings on desktop that gets taken out on ipad. If you would like to suggest this as an idea for apple to put in, please go to http://www.apple.com/feedback

Maybe you are looking for