Set_cell_Editor for single cells rather then complete column

Is it possible to set a cell editor (eg a link) only for single cells of a column.
Regards
Rene

hi rene.....
        you cannot do that......
        may be you can have an extral column called enabled or disabled and bind that property to the enabled property of the cell editor so that only one cell will be enabled while others disabled.
---regards,
   alex b justin

Similar Messages

  • In dreamweaver CS4, I can't make border for single cell

    Hi folks,
    Having given up trying to make a single cell border in the dreamweaver CS4 template, I reverted to an html page and put in my own header, 2 columns and footer as cells in the html table. I know there's html code for adding borders to single cell, but I can't find it. I hope someone can give me a sample line of html code for giving a cell a border on left side and on right side, including 1px solid color border. Anyone?

    Not sure if this is what you want, at least it will give you an example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    body {width: 980px; margin: auto; background: #FEE49A;}
    #header {height: 120px; background: #060;}
    #article {height: 400px; width: 749px; float: right; background: #FFF; border-right: 1px solid #060;}
    #aside {height: 400px; width: 228px;    float: left; border-right: 1px solid #060; border-left: 1px solid #060; background: #CCC;}
    #footer {height: 50px; background: #060; clear: both;}
    </style>
    </head>
    <body>
    <div id="header"></div>
    <div id="aside"></div>
    <div id="article"></div>
    <div id="footer"></div>
    </body>
    </html>
    Gramps

  • 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.

  • CellRenderer / Editor for single cell in JTable

            table.setDefaultRenderer(Color.class,
                                     new ColorRenderer(true));I thought the code above would set up ColorRenderer() to be run if, and only if, a specific cell contains the class in the first input paramter (in this case, java.awt.Class).
    However, this doesn't seem to be the case. If I have one column with various classes in them (eg. java.awt.Dimension, etc.) the renderer for the Color.class is run every time! ..
    This happens if you eg. change the data in the example:
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/TableDialogEditDemo.java
    to contain one element in the color colum that's eg. a java.awt.Dimension (you will get a ClassCastException).
    How come this happens? This can't be the way it should be ...

    Yeah .. but that wouldn't be as object oriented
    thoughAgreed.
    I had a look at the source of JTable. The problem seems to be the method:
    public TableCellRenderer getCellRenderer(int row, int column)
    that makes no use of the row argument.
    I think you could fix this by subclassing JTable and overriding this method with something like:
    public TableCellRenderer getCellRenderer(int row, int column)
        Object obj = dataModel.getValueAt(row, column);
        TableCellRenderer renderer getDefaultRenderer(obj.getClass());
        return renderer;
    }Let me know how you get on.
    Regards.

  • SmartForms: Template: Box for Single Cell

    Hi all,
    I am using template of one row and two Column, I want to draw a box around for Column(1,1), where don't want to draw any box around Column(1,2).
    Which pattern should i select so that i can achieve this?
    Thanks in advance.

    Make two box one with the border and the other without.
    Sincerely

  • Populate multiple rows and columns based off of a single cell

    Does anyone know a way to populate multiple rows and columns based off of the input of a single cell. I'm trying to create a workout tracker that auto populates from a master list of workouts. Example, in A2 the user selects the workout from a drop down menu (St1, St2, St3, etc) and the workout is pulled from the master list and is populated into B2:C5.
    I'm using =LOOKUP(A2,Master :: A2:A32,Master :: C2:C32) right now, but it's only drawing the top column. I'm looking for an edit for the formula (or completely new formula) that will place the info from the 1st column of the Master table into the 1st column of the Auto Tracker 1 table and then on down until the 4th column.
    Here is a screen shot of what I have now:
    And an example of what I'd like to accomplish:
    Any and all help is appreciated, and please let me know if there is any more info that I can give that'd help out.

    Hi Mike,
    Your screenshots show that you have merged some cells in Column A of both tables. That may be the reason why the LOOKUP function is having trouble working out which range of cells to examine.
    Hope this helps.
    Regards,
    Ian.

  • 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 could I insert just a single cell in a table (not an entire extra row or column)?

    I am having trouble making an easy edit. I need to insert an a 'CELL', but I am only being given the option to insert an entire 'ROW' or 'COLUMN'. I would like to just insert a cell and have the rest of the content below it move accordingly. Please help!

    There's no way to set it so that you're just inserting a cell and everything moves along after that cell?
    Simple answer is "No." Sorry.
    InDesign tables are not good for juggling data. If you have a project that requires single-cell-insertion on a regular basis, I suggest doing your table outside of InDesign in an app with easier table-cell-juggling tools (Excel comes to mind here) and then perfecting you use of table and cell styles so that it's easy to update. It'll always be a hassle of some kind, of course, but the hassle can be minimized.

  • Make particular cell as mandatory(not complete column) in ALV

    hello experts,
    i have a requirement to make particular cell as mandatory(not complete column) in ALV .
    could any body tel me how to acheive this functionality.
    Thanks in adv!!

    Hi Rakshar,
    inside the loop write your condition and then call
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_input.
    *Now loop the columns table and change the cell editor of a column
    LOOP AT lt_columns INTO ls_columns.
    lr_column = ls_columns-r_column.
    lv_tabix = sy-tabix.
    READ TABLE lt_name INTO ls_name INDEX lv_tabix.
    CREATE OBJECT lr_input
    EXPORTING
    value_fieldname = ls_name-name.
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_input.
    And go through the bellow link..
    link : http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP

  • F4 help for only a single cell in a table

    Dear All,
    The requirement here is to provide input help for only a particular cell in a table.
    This cannot be achieved by assigning search help to the attribute of the context as this will render all the cells of that particular column with F4 help. I tried applying the cell variant concept but only go up to a certain extent.
    I tried OVS as well. But for this to work we need to lead select the entry and then go ahead with F4, which will make is inconvenient for the user.
    I even searched the forum for some answers, but i could only go to a certain extent with the help of those.
    So, if anyone out there has any idea, please help me out. Also, if this is a repeat post by any chance (i think not) kindly provide me with the link of the original.
    Thanks and Best Regards,
    Pramod

    I am running older versions, so i didn't find any sample dynpros..
    You can try with this peace of code..nyways..
    DATA: LR_TABLE TYPE REF TO CL_WD_TABLE.
    DATA: LR_COLUMNS TYPE CL_WD_table_column=>tt_table_column.
    DATA: LR_COLUMN TYPE REF TO CL_WD_TABLE_COLUMN.
    DATA: LR_EDITOR TYPE REF TO CL_WD_VIEW_ELEMENT.
    DATA: LR_TEXT   TYPE REF TO CL_WD_TEXT_VIEW.
    DATA: BINDING TYPE STRING.
    DATA: LR_CELL TYPE REF TO CL_WD_TABLE_STANDARD_CELL.
    IF FIRST_TIME EQ ABAP_TRUE.
      LR_TABLE ?= VIEW->GET_ELEMENT( 'TBL_COMPONENTS' ).
      LR_COLUMNS = LR_TABLE->GET_COLUMNS( ).
      LOOP AT LR_COLUMNS INTO LR_COLUMN.
        LR_EDITOR ?= LR_COLUMN->GET_TABLE_CELL_EDITOR( ).
        BINDING = LR_EDITOR->BOUND__PRIMARY_PROPERTY( ).
        IF BINDING EQ 'RRSO.SOCOMP.POSNR' OR
           BINDING EQ 'RRSO.SOCOMP.MATNR' OR
           BINDING EQ 'RRSO.SOCOMP.KWMENG' OR
           BINDING EQ 'RRSO.SOCOMP.NETPR' OR
           BINDING EQ 'RRSO.SOCOMP.POPRICE' OR
           BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
           LR_CELL = CL_WD_TABLE_STANDARD_CELL=>NEW_TABLE_STANDARD_CELL( VIEW = VIEW
                                VARIANT_KEY = 'TOTAL' ).
           IF BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW
                                                       TEXT = 'Total'
                                                       H_ALIGN = CL_WD_TEXT_VIEW=>E_H_ALIGN-FORCED_RIGHT ).
           ELSE.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW ).
           ENDIF.
           LR_CELL->SET_EDITOR( LR_TEXT ).
        ENDIF.
         LR_COLUMN->ADD_CELL_VARIANT( LR_CELL ).
      ENDLOOP.
    ENDIF.
    This code is for setting Text View as cell editor, instead text view u can take input field and use bind_value method to bind with another context attribute.
    Abhi

  • Is there a way to add multiple borders to a single cell with one click or do I have to add one border at a time for example, one cell with borders on three sides?

    I would like to know if there is a way to add multiple borders to a single cell or selection of cells in one click.  At this time, if i want to add for example a top border and a bottom border to a single cell I have to do this in two steps: first select the top border, style, thickness, and color, and then next select the bottom border, style, thickness, and color.  Is there a way to select the top and bottom border of a cell in one click?  Clicking on the top border then holding down the command key while selecting the bottom border does not work, nor does holding down the option key, the control key, or the shift key work. Thanks for your help.

    Thank you for the suggestion but this did not work for my Mac.  When a cell is selected for which I want borders, the entire cell is lit up.  Then when I go to the border tool and select style, thickness, and color, the entire lit up cell takes on the border, that is the Outside Edges of the cell now have a border.  So selecting the style, thickness, and color first doesn't work.
    If I select the top border first (or any border), the drop down goes away and I can't select multiple borders - I get to choose one at a time.  After selecting one border, style, thickness, and color, said border is now on the spreadsheet.  Then I go back to the border selection and pick another border and the the previously selected style, thickness, and color reverts to null, so I start over with the new border style, thickness, and color.  Yes, it is tedious.
    The Fix would allow the user to select multiple borders, say left and right, before the drop down goes away after selecting only one border
    Does it have something to do with Allow or Disallow border selection?
    I have Numbers '09 version 2.1 (436)

  • How do I create a cumulative total for 3 or more cells in a new column

    Ok so in brief I have a formula in column E that goes C3+C5+D4
    what I would like is for column E to keep a running total , at the moment all it does is do the same indidual sum in each E cell
    I apologise as there is most likely something stupid I am missing but I am new to number
    any advice please
    Louise

    Louise,
    I am not following the formula you presented.  When you say running total my brain thinks of the math as :
    add all previous values up to, and including, the latest row.
    Like this:
    the result in cell C1 is just the sum of B1
    the result in cell C2 is the sum of B1 and B2
    the result in cell C3 is the sum of B1, B2 and B3
    the result in cell C4 is the sum of B1, B2, B3 and B4
    etc
    this can be realized with the formula:
    C1=SUM($B$1:B1)
    this is shorthand for... select cell C1, then type (or copy and paste from here) the formula:
    =SUM($B$1:B1)
    the formula means... sum all the cells from the absolute cell B1 ($B$1) to the relative cell B1.
    as you fill this formula down the absolute cell reference will not change but the relative cell reference will adjust
    to fill down... select cell C1, copy
    now select column C, paste

  • Performance of update query for single column vs multiple column

    Hi All,
    I could not find any answer for this, does it ever matter in terms of performance updating single column versus multiple column in a single update query.
    For eg. table consisting of 15 columns, what would be the difference in performance when one column is update in the single query against another update query where 15 columns are updated.
    Please do keep in mind my table columns in actually could be around 150+.
    Thanks for any information provided.

    If updated columns aren´t on where clause , then the only impact of 15 columns will be a increase on redo generation, and a possible chainning row.
    So since the redo is one of the things that have a large impact, the answer is yes.
    The performance will be slower.
    Regards
    Helio Dias.
    http://heliodias.com
    OCE SQL, OCP 9i

  • Is it possible to use Aperture to make a new image from two existing ones--ie, in a new jpg? I essentially want to create a collage that I can then print as a single image, rather than in a book. Any advice will be most welcome!

    Is it possible to use Aperture to make a new jpg from two existing ones? I'd essentially like to create a photo collage (without using existing templates) that I can then print as a single image, rather than in a book. Any advice will be most welcome! Thanks.

    https://discussions.apple.com/message/15678716#15678716
    (Added)
    The main point is that Aperture is used to make digital negatives as good as they can be (for the uses you define), but it does not ADD date to your digital negatives, nor does it produce NEW combination files.  For those tasks you need a Graphics program.
    Message was edited by: Kirby Krieger

  • Padding for a single cell

    Hi
    I feel awful for asking this but how do I insert padding for
    a single cell. As far as I know the code should look something like
    this: cellpadding= "0 10 0 10", but that's probably slightly or
    completely off the mark and I'm not sure where to put it.
    Thanks, Math

    As Osgood points out, your non-zero padding values need to
    have units
    specified.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Kua the Indomitable" <[email protected]>
    wrote in message
    news:flicqc$qae$[email protected]..
    > Hi
    >
    > I feel awful for asking this but how do I insert padding
    for a single
    > cell. As
    > far as I know the code should look something like this:
    cellpadding= "0 10
    > 0
    > 10", but that's probably slightly or completely off the
    mark and I'm not
    > sure
    > where to put it.
    >
    > Thanks, Math
    >

Maybe you are looking for