How to set table cell renderer in a specific cell?

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

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

Similar Messages

  • How to set table field mantatary in data dictinary?

    how to set the table field mantatary in data dictinary?
    exampl
    null value not allowed.

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19187532&messageID=2575276]

  • How to set table coloumn as inputfield

    Hello experts, I'm new to ep.I need to set a column of a webdynpro table as inputfield.Please tell me which property i need to modify for that column.Thanks

    Hi,
    There are two ways of doing this.
    First create a node with name "Table" in context and create some attributes to this.
    (1) when you are creating Table by inserting template, select the node and go next
    there you can set any cell editor ( like inputField).
    (2)You have already created a table with Table node the in the column delete the existing cell editor and again add cell editor as input field.
    I hope this will solve your problem.
    Regards,
    Praveen

  • How to set table alternating color

    how do i set the properties of table with alternating color
    properties :
    design : alternating  
    it is like normal table , although i have change the properties of design to alternating.....
    pls advice

    Hi Yzme,
    When you change the Table Design propety to "<b>alternate</b>", change the <b>readOnly </b>property to <b>"true</b>". Then the table will display the alternate colors but the table will be read only.
    Refer to the following thread also:
    Re: Problem with table design in 2004s
    Regards,
    Jhansi

  • JPA / Toplink Essentials / How to set Table Qualifier?

    Hello!
    How can i set a table qualifier for toplink essentials (JPA)?
    Using toplink I can use setTableQualifier("...");
    regards
    Harald.

    If I add orm.xml along to persistence.xml in the META-INF directly, TopLink JPA obviously finds it regarding to its log output:
    Searching for default mapping file in file:/C:/<path_to_webapp>/WEB-INF/classes/
    Found a default mapping file at file:/C:/<path_to_webapp>/WEB-INF/classes/META-INF/orm.xml for root URL file:/C:/<path_to_webapp>/WEB-INF/classes/
    But it seems as the "schema" property I set under persistence-unit-defaults is ignored. The orm.xml file looks like this:
    <persistence-unit-metadata>
         <persistence-unit-defaults>
              <schema>schema_name</schema>     
         </persistence-unit-defaults>
    </persistence-unit-metadata>
    The queries logged by TopLink JPA to not add qualifiy table names with the schema_name configured above!!!
    Any idea?
    Hans

  • How to set table background to no repeat (not as obvious answer)

    Hi, just to be clear I'm not refering to a normal background on a page where I could just edit the css and type background-repeat: no-repeat (hence the 'not as obvious answer' in the title).
    I have a table with a background image set to it - i did this by inserting an image, cutting it out, then right clicking and selecting edit tag td... then I set the parameters and image and the image appears in the table but you can still type over it...
    Anyway whenever I stretch that table out the bg image repeats.. I have tried going into HTML and finding the responsible code which was:
    <td width="377" height="367" align="center" valign="middle" background="IMG/content box trial.png" >
    and I added the background-repeat= "no-repeat" to it however with no success, the image still keeps on repeating...
    I might be doing this wrong.. Any help is always greatly appreciated guys and gals!
    Thanks!

    Or you could have done the modern way by defining your styles separately from the html code:
    <style type="text/css" media="all">
    td {
        width: 377px;
        height: 367px;
        background-image: url('frame_border.jpg');
        background-repeat: no-repeat;
    </style>

  • Function Module: how to setting table import parameter

    hi, i'm developing a function module. i create a TABLES where it will allow multiple variables  IMPORT from user input to this function module. the tables i set as OPTIONAL and decribed as below.
    PSPID     PS_PSPID     CHAR     24
    POSID     PS_POSID     CHAR     24
    AUFNR     AUFNR     CHAR     12
    PSY     J_STATUS     CHAR     5
    PUS     J_STATUS     CHAR     5
    in my source code, i done a select statement to process the IMPORT input . the problems i face,for the PSY and PUS  input,  if the one or both input is BLANK, NO RESULT will display. What i'm try to do , if input one or both  is BLANK, it wil neglect the input and return as ALL RESULT (return result oir all status for input pspis / posid / aufnr)  . attached the select statement. thank you
    itparm[] = objparm[].
    select
        a~pspnr a~stspr a~objnr a~pspid
        b~psphi b~objnr as wobjnr b~posid
        c~aufnr c~objnr as nobjnr c~pspel
        d~objnr as jeobjnr d~inact d~stat
        e~objnr as jcobjnr e~udate e~usnam e~utime e~stat as jcstat e~inact as jcinact
        f~istat as syistat
        f~txt04 as sytxt04
        f~spras
        g~estat as usestat
        g~txt04 as ustxt04
        into corresponding fields of table itobj
        from proj as a
        inner join prps as b on a~pspnr = b~psphi
        inner join aufk as c on b~pspnr = c~pspel
        inner join jest as d on c~objnr = d~objnr
        inner join jcds as e on d~objnr = e~objnr
                             and d~stat = e~stat
        inner join tj02t as f on e~stat = f~istat
        inner join tj30t as g on a~stspr = g~stsma
        for all entries in itparm
        where ( a~pspid = itparm-pspid
        or b~posid = itparm-posid
        or c~aufnr = itparm-aufnr )
       and ( f~istat = itparm-PSY and g~estat = itparm-PUS ).

    Thanks for your quick reply. actually the data will be somehing like this. since i developed a function module, i keep the import parameter in a table.
    PSPID     PS_PSPID     CHAR     24
    POSID     PS_POSID     CHAR     24
    AUFNR     AUFNR         CHAR     12
    PSY       J_STATUS     CHAR     5
    PUS      J_STATUS     CHAR     5
    the example data will be in OTPARM internal table
    PSPID              POSID          AUFNR     PSY     PUS
    aa-aa-aa         a1                                  I001
    bb-bb-bb                              b1                        E009
    cc-cc-cc
    i'll store  this into an internal table. from the data. it can be seen there a BLANK input. so the blank input should not be included into WHERE connditions. that why in the previous solution, i use SELECT inside LOOP because every line of the IMPORT tables will be generated with different WHERE conditions. i tried to do something like this:
    PSPID         POSID     AUFNR     PSY     PUS        cond_syx
    aa-aa-aa     a1                           I001                  if proj~pspid = itparm-pspid and prps~posid = itparm~posid and ....
    bb-bb-bb                   b1                         E009     if proj~pspid = itparm-pspid and aufk~aufnr = itparm~paufnr and ....
    cc-cc-cc                                                             if proj~pspid = itparm-pspid
    and implement with FOR ALL ENTERIES, but at the WHERE conditions i failed to put the CONF_SYX. please comment and give opinions. Thanks you very much.

  • How to set table visibility in run time?

    Dear all,
               Initially i need to make my table invisible. if i click the button, it should be visible. Help me out to do this.
    Thanks,
    Gopi.

    Hi,
    Rather hiding the table, apply the same for the transparant container...
    Create a transparent contianer(TCO) and inside this have the TABLE....
    Create a context attribtue of type wdui_visibility and bind it to the visible property oft the TCO.
    After that, based on the data existence set this attribute value...
    Do you have any input fields and this table in the same view....waht is your design....
    If you have data in the internal table.......
    data lv_visible type wdui_visibility.
    if lt_table is not initial.
    lv_viisble = '02''.
    else.
    lv_visible = '01'.
    endif.
    wd_context->set_attribute
    exporting
    name = 'VISIBLE_TCO'
    value = lv_visible.
    Hope this is clear...
    Regards,
    Lekha.

  • How to set alarm and clear alarm in specific time

    Hi in my project i have to set alarm when ever there is limit vilation and clear it when ther is no limit viloation.But the problem is i should not set alarm for every violation,ihave to check,in 10 sec if there are 3 violations then only i have to set alarm ,and this set alarm should occur where the first violation took place,and this should be wriiten in log file.
    for example if iam measuring alarms, in 1-11(10) seconds,in 10 sec if i have only two alarms set and clears ,then no problem,again i have to check from 2-12(10)seconds,in this 10 sec if i have 3 or more alarm i have to set alarm,wher the first alarm set has occured i,e In 2-12 sec if there is alarm set at 3rd sec,6th sec and 10th sec then i have to set alarm at the 3rd sec and i have to clear alarm at 10th second.Again i have to check from 3-13 and so on.It seems to be complicated,but pls help me,iam attaching my VI:
    Attachments:
    alarm_final[1]_time_k.vi ‏144 KB

    Here is a simple VI which monitors the number of alarms and the elapsed time. It does have some bugs but I think it will show an approach.
    Lynn
    Attachments:
    3in10.vi ‏52 KB

  • How to display table in smartforms

    hai
    I want to display the output in table.. how to set table.. I tried with the display framed framed patterns but its not working.. is that right method?? pls give suggestion

    Hi
    Yes,you can display the contents of the output using tables.
    Refer these links:
    Tables in Smartforms
    drawing a table in smartforms.
    passing tables in smartforms
    Drawing table in smartforms
    Creating Tables in Smartforms
    Regards,
    Sravanthi

  • How to pass table data to RFC?

    I have scenario below:
    Z_RFC_SalesOrderEntry_Input
    |-----> I_T_Area
                |--> PNo
                |---> Quantity
    |-----> E_T_Area
    |-----> Output
    How to set Table parameter Pno and Qiantity to I_T Area of RFC in web dynpro through coding.....

    Hi Pradeep,
    Try This.
    try
                    Z_RFC_SalesOrderEntry_Input z_RFC_SalesOrderEntry_Input = new Z_RFC_SalesOrderEntry_Input();
                             int size = wdContext.nodeText().size();
                             for (int i = 0; i < size;i++)
                        Z<Put the structure name for I_T_Area> itArea= new <Put the structure name for I_T_Area>();
                        itArea.setPNo(wdContext.nodeText().getTextElementAt(i).getPNo());
                        itArea.setQuantity(wdContext.nodeText().getTextElementAt(i).getQuantity);
                        z_RFC_SalesOrderEntry_Input.addI_TArea(itArea);
                    wdContext.nodeZ_RFC_SalesOrderEntry_Input().bind(z_RFC_SalesOrderEntry_Input);
                    wdContext.currentZ_RFC_SalesOrderEntry_InputElement().modelObject().execute();
                    wdContext.nodeOutput().invalidate();
    catch(Exception e)
    Assuming Text value node is bound to your View. Put the model class name properly.
    How to pass multiple selected values of a table to RFC
    Regards,
    Mithu

  • JTable with JButton Cell renderer

    How can I get buttons (JButtons) to "depress" properly in a JTable when using them as the cell renderer for a specific column in a JTable? Currently when pressing any button in the column, there is no change in the visible state of the button, i.e. it doesn't change color to create impression of depression.

    Is the [problem not the fact that the JTable cell renderers merely rubberstamp each cell with the appropriate display, i.e. the actual component in the cell is not an actual button (just looks like one)? If this is the case, then the same problem will persis with a JToggleButton as well won't it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • RDR1:BaseRef (col "44") is disabled - how to set value?

    (i am re-posting this in a thread of it's own. )
    as the subject implies,
    i want to set value to that column (a specific cell),
    but i can't change the value.
    i tried searching the forum,
    i read all about userdatasrouce, dbdatasourced
    but i still hasn't succeeded...
    i keep getting "the item is not user defined and cant be manipulated in this manner" error.
    so what manner should i use??
    how do i set value to a disabled "system" cell.. ?
    (important: 6.5 version!)
    thanks.

    it doesn't work.
    firstly i couldn't find the example.
    never the less, i did this:
    'on after updating event,
    oRDR = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    oRDR.GetByKey(strRDRDocEntry)
    oRDR.Lines.SetCurrentLine(i)
    oRDR.Lines.BaseType = 23
    oRDR.Lines.BaseEntry = strQUTDocEntry
    oRDR.Update()
    but it doesn't even change the values of the fields!
    ( i get error [OITM] 'No matching records found (ODBC -2028) ) - this is a lot of fun to me.
    and besides, will this help setting the relevenat TARGET DOCUMENT data on the corresponding QUT ???
    -i.

  • How to set expiry date for a mail account?

    Hi there, i'm new in Messaging Server, need help here on how to set an expiry date to a specific mail user since the mail user will be just a temporary mail user. Instead of deleting manually, is there any smarter way of doing it?

    Directory Server can be set to exipre a password, indeed. That will prevent the user from logging in, when it happens. There will be no warning, or anything like that.
    The account will still be on the server, and the mailbox will still contain mail. It will still receive mail.
    If you want to turn an account off, you will have to make some arrangement outside Messaging Server for automating it.
    You can use any kind of program you like to set the ldap attribute "mailuserstatus" to "inactive", or even "deleted" as you wish.
    You can use java, "c", or any other programming tools you like. Messaging Server and Directory Server aren't written in Java, anyway.

  • How do you set a calendar alarm for a specific time on the day of the event without it being an all-day event

    Does anyone know how to set a calendar alert at a specific time on the day of the event.
    So that the alert date adjusts accordingly if you were to copy and past it to another date.
    The custom alert function kind of does this, but because it is an absolute alert (not relative) it will still refer to the date you initially set it to when you copy and paste it to another date. So this creates more work where you would have to go and manually change all the custom alerts. I have potential
    Anyone know how to set this kind of calendar alert?
    Thanks in advance

    Greetings: Set the alarm to message you (on your screen) and then snooze it every day for 15 days, or, set 15 separate alarm messages. There is probably an AppleScript somewhere on the web too, try searching that way as well.

Maybe you are looking for

  • Can't use my credit card

    I have just got a new Mac Book Pro and have tried to use my credit card on two separate sites and had the transactions fail. I know the card is valid and has no "stops" on it but it uses the VeriSign option where you have to enter a password on a sit

  • I find it annoying that you can't use aliases in where statements

    I find it annoying that you can't use aliases in where statements for example: SELECT TOP 1 CAST(amount / ( CASE WHEN ISNULL(rate, 0) <> 0 THEN rate ELSE 1 END ) AS NUMERIC(10, 2)) AS num FROM table WHERE num > 1 ORDER BY num Are there any workaround

  • Debugging  PL/SQL Package

    How Can I Debug PL/SQL Package using Jdeveloper.

  • Error when updating software

    Dear Apple Customer Care! crashes when updating IOS version 6.1.2, I'm using iphone 5. Pls, help me

  • Locking Files or Folders -- Password protected access?

    I know how to simply lock a folder or file so it can't be altered or deleted, by selecting 'Locked' in the file or folder's information box. But is it possible to lock a folder or file so it requires a password to be accessed, without having to use a