How do I resize a single cell in a TableView?

So I have a tableview, and when a user selects it, I would like to resize that particular cell.
I have all my code in place in terms of drawing that particular cell when selected, but my only problem is I can't seem to figure out how to resize a single cell. For example, if all my cells have a height of 40, I want the selected cell to have a height of 80. I have tried setFrame, I have tried initWithFrame when creating the cell. I figure I'm missing something pretty simple, but I don't see anything as simple as [cell setHeight] or something like that.
thanks!

What Rick says will work. I have done it. In some cases you may need to set the needsDisplay and or needsLayout properties on your custom cell if you have one.

Similar Messages

  • Hello, I would like to know how to add or delete single cell in numbers.

    Hello, I would like to know how to add or delete single cell in numbers.

    If by delete you really mean clear the contents of a cell, then just click once on the cell and hit the 'delete' button.
    Before:
    After hitting delete button:
    In some circumstances you can actually delete one cell.
    For example here, I make this choice:
    Resulting in this:
    So it's not strictly true that Numbers does not delete one cell, ever.  It can if you have a one-column table. 
    So never say never or not ever! Enough pedantry for today!
    SG

  • Having difficulty resizing a single cell width in a table

    Hi
    I have a table in a Pages 09 document with several different rows and columns. I'm having real trouble trying to resize a single cell - that is I have a row split into two columns and the left column won't shrink very far so I have loads of empty space after the text I have in that column which is a pain as it looks untidy. I've selected that cell and have no option to adjust column width in Table Inspector, I've selected 'Automatically adjust width to text size' and that's making no difference and trying to manually move the cell wall to the left makes no difference - it'll go so far and then no more.
    What's just as annoying is that I have exactly the same 'one row/two columns' format just below this row and that left column cell shrinks even less, meaning I have a staggered columns set up going on down my table which looks daft.

    I am unable to reproduce this behaviour.
    You may activate the "Show Invisible Characters" feature which will perhaps reveal the existence of extraneous chars.
    If it's not that, I would be interested to receive this table.
    Of course, remove personal infos from the document before sending it to my mailbox.
    Click my blue name to get my address.
    Yvan KOENIG (VALLAURIS, France) mercredi 31 mars 2010 22:07:25

  • How do I lock a single cell or row or column

    how do I lock a single cell or row or column

    Can't. Only the whole table can be locked.
    A semi-workaround is to place a clear textbox over the cell and lock the textbox.  The user can't click on the cell but they can still navigate to it using the keyboard. They can also move the table around to get to the cell.  So it is not a great workaround but I thought I'd mention it anyway.

  • How do I outline a single cell in a numbers spreadsheet

    I am trying to emphasise the borders of a single cell in a numbers spreadsheet;  I follow all the instructions I can find in mac help, they just don't make any difference.  I may be ancient, but I can usually suss things out in time; this baffles me.  However, I do realize I may have blundered into the wrong type of help forum here.

    To place borders around a cell in Numbers -
    Make sure the cell has been selected, i.e. is the active cell.
    Click the Inspector tool in the Toolbar -
    Then click the Table inspector icon in the Inspector window's toolbar -
    In that screen, look down to the section "Cell Borders"...
    Click the button for full border (arrow in pic above) -
    Adjust the color of the border as needed for visibility (oval in pic above) -
    And then you may need to adjust the line weight (thickness) to get it visible on-screen. To do that, click the dropmenu in that section showing "Thin" and select the next item underneath "thin" in the menu. This will make the item just to the right of that menu active - you can then use the arrow-buttons to make the line weight thicker. Although the thinnest setting (0.25 pt) may print okay, on some screens it just doesn't show - especially of the border color has not been set to a hard black. Making it thicker can help in viewing it on-screen.

  • Inserting a single cell

    Okay, I can insert a whole row or column, but how do I insert a single cell? Say I need to add a cell at G8, moving the data down one cell. Rather than trying to select 325 cells and move them down.
    Simple in Excel, but I'm giving Numbers a reason to not use Excel.
    Anyone?

    I still submit that you haven't "grokked" the Numbers yet. I have used it extensively and have never needed this feature.
    Well, I guess it's true I have not "grokked" Numbers yet. And yes, the data was entered inconsistantly, Jax, and that's the problem I'm trying to fix. All of which would be easier if I had a simple Add Single Cell command. Goodness, it's not like I'm asking for the Red Sea to part, just a single column.
    I'm dealing with 2 tables, each with 12 categories, 60 entries per category, and I'm trying to compare the two. I sorted each by category and then by entry. Then I copied and pasted the appropriate columns from Table 2 over to Table 1. After moving columns around (which is easier than in Excel, admittedly), I'm going down the columns and looking for discrepancies. Finding one, I need to bump a column down a cell so I can add the missing entry so both columns are exactly the same. There are cells missing in both columns, so I can't assume one is more correct than the other.
    So I guess the Martian thing to do (being a stranger in a strange land, i.e., a non-Microsoft spreadsheet), would be create 12 different tables based on twelve different categories. Of course, then I'll need to combine them back together because sometimes I sort by entry, not just category. Effective multiplying my efforts by 12.
    Oh, and I was well aware of the demo, thank you very much. I'm a few months passed the 30 day limit before this project came about. I bought the software in an attempt to cut away from Microsoft Office. Surely y'all can understand that. Going cold turkey wasn't such a good idea, I guess.

  • Adding lines in single cell on spreadsheet

    How to add lines in single cell on spreadsheet?

    i think holding (CTRL or ALT) + Enter should work? Did you try those?

  • Resizing the JTable Cell horizontal width

    Sir/Madam,
    How can i resize the JTable cell's horizontal width. I know the JTable's column width can be resized. I dont want to resize the entire JTable column. But i need to resize individual JTable cell's horizontal width. Thanks in advance.

    I think that's not possible. What kind of results are you expecting ? If the cells of a column are different widths, what are you going to do with the extra space of the narrower cells ?
    What are you displaying in the cells ? Maybe you can narrow the contents of the cells, and not the cells.

  • How to disable single cell in table control.

    Hi my requirement is to disable single cell in the table control. Please let me know How to do this.
    If possible please provide good module pool examples.
    Harish

    Hi,
    I´m not quite sure if this is gonna work. You have to make a loop over the screen and then you can change some characteristics of it, which includes the Input option:
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    I´ve used this code for selection screens but could help you. Check in SE11 all options for SCREEN.

  • I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me?

    I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me? The final result would be a spreadsheet telling there were 8 people from 20 to 39 years old, 14 peolple from 40 to 59 and so on...

    jpqcampos wrote:
    This appears to be an 'input form' using 'Radio Buttons' to select the category. Neither of these features are supported in Numbers '09.
    You can input the data on one table and summarize it on a second table, but the input table will continue to hold data for each event.
    And by using the Reorganize button, you can hide all but two rows of that table to approximate the appearance and performance of an input form.
    Here are the two tables, Data on the left and Summary on the right. Notes below.
    The grey-filled columns in both tables are 'working' columns, and may be hidden (as shown in the image below).
    Data table:
    D1 contains the word "TRUE" (in capital letters). (This row is always shown.)
    D2 is empty, or may contain any value except "TRUE" (This row is always hidden under the Reorganize rule.)The rest of Row 2 of this table requires the data shown: a number outside the range to be counted (999), and two checkboxes, both checked.
    D3 (and filled down the rest of column D):   =AND(OR(B2,C2),NOT(OR(B3,C3)))
    The formula returns TRUE only for the first unused row in the table (ie. the first row for which neither checkbox has been checked)
    Summary table:
    Column A contains labels for the age ranges to be counted.
    Column B contains the same information in the form necessary for the formulas in columns C and D. They need a numeric value, and that value must be the largest acceptable value in the range to be counted.
    C2 (and filled right to column D, then both filled down to row 5):
        =COUNTIFS(Data :: $A,"<="&$B,Data :: B,TRUE)-SUM(C$1:C1)
    Two changes from the previous example:
    COUNTIFS is used to separate the Native and Foreign counts as well as the age range to be counted.
    The amount subtracted from each result is the SUM of the earlier results, and includes the text value in the first cell of the column (which is interpreted by SUM as a zero).
    See note below regarding my earlier formula.
    When the greyed columns are hidden and the checkbox in the Reorganize pane is checked, the two tables will appear as shown below:
    Close the reorganize pane, and the 'data entry form' is ready to use.
    To use, enter the age first, then check one of the boxes.
    As soon as one box is checked, the row will be hidden, and the next (unused) row will be shown.
    Regards,
    Barry
    Note regarding formula in my earlier post:
    The earlier formula will give erroneous results as it subtracts only the count directly above it from its count of persons in the age range 0-n.
    In E2 of that table, replace "-E1" with "-SUM(E1:E$1)
    Fill down to E8.
    Ignore the instructions (in that post) following "Fill down to E8."
    B

  • How do I change the background of a single cell or a row in a table?

    How do I change the background of a single cell or a row in a
    table? I doesn't seem to be letting me do that.

    Are you using the latest DW? If so, then it isn't letting you
    because
    bgcolor is deprecated and shouldn't be used.
    The correct way is to use css to define the background of a
    cell
    CSS:
    .blackcell {background-color: black;}
    HTML:
    <td class="blackcell">whatever in the cell</td>
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Template Customization ~
    http://www.csstemplates.com.au
    Spry Widget Examples
    http://www.dreamweaverresources.com/spry-widgets/
    "dm25" <[email protected]> wrote in message
    news:f4jr5h$luu$[email protected]..
    > for some reason that doesn't always work. When I click
    inside a cell, it
    > doesn't give me an option to change the background
    color.

  • How to find multiple keys in single cell using Numbers?

    I'm trying to add functionality to one of my Numbers tables where want to check a single cell for multiple keywords from a list. The hole thing works perfectly fine in Excel but it behaves differently in Numbers.
    The formula I am using is:
    =IF(ISERROR(LOOKUP(2^15;FIND($E$2:$E$11;A2)));"not found";"found")
    The following screenshots show that it correctly finds the keys in the cell when using Excel but not in Numbers. Although, it seems to work if the key is in the same row as the input cell.
    Excel table using the formula I posted in the C column:
    Numbers table using the formula I posted in the C column:
    Would be really happy if somebody knows how I could accomplish that!
    Cheers,
    Maik

    If you are working in Numbers you can do this efficiently with a small AppleScript without going back to Excel or clone. One click and you get the following result:
    This script works with Numbers 2.3, which your screenshot suggests you are using. If you are using Numbers 3 it needs a very small adjustment.
    This is the script:
    --https://discussions.apple.com/thread/6315365?tstart=30
    property inputCol : 1 --> col A, as in example
    property resultCol : 3 --> col C, as in example
    property keysCol : 5 --> col E, as in example
    property targDoc : 1 --> 1 is front document; can change to "MyDocName"
    property targSheet : 1 --> 1 is first sheet; can change to "MySheetName"
    property targTable : 1 --> 1 is first table; can change to "MyTableName"
    tell application "Numbers"
              set t to document targDoc's sheet targSheet's table targTable
              set keysList to t's column keysCol's cells's value
              repeat with i from 2 to t's row count -- assumes 1 Header Row
                        set inputVal to t's row i's cell inputCol's value
                        if inputVal is not 0 then --skip blank cells; Numbers 2 reads blanks as 0
                                  --check if Input matches a key:
                                  if inputVal is in keysList then
                                            set t's row i's cell resultCol's value to "found"
                                  else
                                            set t's row i's cell resultCol's value to "not found"
                                  end if
                                  --check if Input contains a key:
                                  repeat with aKey in keysList
                                            if inputVal contains aKey then set t's row i's cell resultCol's value to "found"
                                  end repeat
                        end if
              end repeat
    end tell
    --end of script
    To run, copy into AppleScript Editor, change the properties if needed, and click the green triangle 'Run' botton.
    SG

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • How to display time difference in a single cell separately.

    Hi All,
    I have an issue where you have to calculate the Start time and End Time , Start Date and End Date for a particular Work item number
    For eg ;
    WI_ID            WI_CD                WI_CT
    000001312610        02/09/2009      09:48:4     02/09/2009      09:48:9 
    000001312610        02/09/2009      09:54:4   02/09/2009        09:54:9
    000001312610        02/09/2009      09:54:5     02/09/2009      09:54:9
    000001312610        02/09/2009      10:07:0  02/09/2009         10:07:9
    000001312610        02/09/2009      10:07:0     02/09/2009      10:07:9
    000001312610        02/09/2009       10:16:5     02/09/2009       10:16:9
    000001312610        02/09/2009     10:16:7       02/09/2009     10:16:9
    Similarly I get the Endtime and ENd dayfrom other table for same work item.so my output should have the result as ,So my requirement here is
    in the it should show the display in a single cell .as, 5secs, 5 secs,4 secs,9secs,4 secs,2 secs
    for each work item.
    Can any body help me on this issue.
    Any pionters for this are much helpful forme.
    Thanks
    Rohini

    Hi Kewin,
    Its not the question of concatenation, that can be handled later.
    But my issue is how to calculate time difference for each single step

  • How do I add amounts in a single cell?

    I keep a simple worksheet of my expenditures. Rows are categories; columns are months. I've been doing this with Excel but I am trying to switch to Numbers. I can't figure out how to add data within a single cell with Numbers, i.e. multiple grocery expenses for March.

    Cristina,
    I'm not a very good person to ask about Excel or what is like Excel. I left Excel behind about nine years ago.
    This will work though:
    Let's say you have items worth $1.75, $12.00 and $7.50. To add them, click once on a blank cell and type:
    =1.75+12.00+7.50 then click the green checkmark or hit Return twice. Then assure that the cell is formatted as Currency with 2 places after the decimal point.
    The display will look like this:
    To add another item, double-click the cell and append the formula. To add a $5.00 item, you would type:
    +5.00
    and hit Return twice.
    Jerry

Maybe you are looking for

  • How do I track my stolen mac?

    My macbook was stolen at the airport. Is there any way that I can track it and get it back?

  • Operation Number in Result Recording

    Dear QM Masters, We are preparing BDC for result recording through QE11 as inspection lot will be with inspection points. Task list for specification will have same MIC assigned to two operation/phase i.e. phase 40 and phase 60. But as we have to rec

  • Getting Netflix to run on a Q10 after 10.3.1 update

    Not sure if any one else ran into this problem, but I sure did and it really made me question keeping my blackberry... After I installed the 10.3.1 update I noticed that netflix (previously sideloaded from the amazon store) no longer worked.   Fine-

  • CS4 AS2 Tween Problem

    Hi there, Wondering if anyone can help with a crippling issue in Flash CS4. In short, the post production company I work for asked me to redesign their website using the version that happened to be hanging round the office- Flash MX (circa 2002). Hal

  • Define Bundle in Skin

    Hi, I use JDeveloper 11.1.1.0.0. I define a skin to my ADF application and use a custom bundle class for it and change trinidad-config.xml for using my skin . <skin> <id>mySkin.desktop</id> <family>mySkin</family> <extends>blafplus-rich.desktop</exte