How to add One Button to the Table Header.

Hi,
I would like to have few Table Header columns as Button and Other Table Header Columns as String. And each Button should have separate action. Please let me know, how can i implement this one.
Thanks
Mohan

do not cross post, this is a bad habit. now do you know about www.google.com. well this is a search engine, learn how to use it before you post. i got this link with this keyword search.
http://www.exampledepot.com/egs/javax.swing.table/pkg.html
http://forum.java.sun.com/thread.jspa?threadID=560605&tstart=15
hope this helps you
regards
Aniruddha

Similar Messages

  • How to add a Button to the Table header

    Hi,
    I would like to have few Table Header columns as Button and Other Table Header Columns as String. And each Button should have separate action. Please let me know, how can i implement this one.
    Thanks
    Mohan

    cross post
    http://forum.java.sun.com/thread.jspa?threadID=5195296

  • Need To Add One Button in The Output

    Hi Freinds,
    can any one tell how to add one button in the application
    tool bar, that is at the final ALV out put screen

    Hi,
    you just create a pf status and add buttons to it.
    then you include that pfstatus in your function module in the
    export parameter 'i_callback_pf_status_set'
    i found this sample code somewhere you just see how this is done:
    create one pfstatus. for example znewstatus is the created
    pfstatus. double click on the pfstatus that was created then add the buttons that you require in the appilication tool bar.
    pass the form names to the I_CALLBACK_PF_STATUS_SET and I_CALLBACK_USER_COMMAND in grid as shown below.
    example for reference:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    FORM SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'ZNEWSTATUS'.
    ENDFORM.
    FORM USER_COMMAND USING R_UCOM TYPE SY-UCOMM R_SELFIELD TYPE SLIS_SELFIELD.
    case R_UCOM
    when 'PRINT'. (print is the function code name given to the icon created)
    leave to list-processing.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = pass the form name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FMNAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FMNAME.
    reward if useful.
    Nishant Rana

  • How to insert a button on the column header of a table in webdynpro java

    Hi
    Can anyone tell me how to insert a button on the column header of a table in webdynpro java?
    regards
    sunit

    Hi sunit,
    Instead of adding button in the column header , in the column
    add a fixed top cell.
        right click on the column
        Insert FixedTopCell
        Right click on the fixedTopCell
        insert Editor.
       select button.
    then button will be only in the top most row.
    Hope it will satisfy ur requirement
    Regards
    Smitha

  • How to add one column to the standard t.code : CAT2.

    Hi,
    How to add one column to the standard t.code : CAT2.
    thanks

    Hi Chinna
    see the  enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to add a button to the grouped data in an AdvancedDataGrid?

    Hi,
    Can anyone please suggest how to add a button to the grouped data in the AdvancedDataGrid?
    I have tried extending the AdvancedDataGridGroupItemRenderer and using it as the groupItemRenderer but its not reflecting.
    For the leaf node the itemRenderer property works just fine.
    Please help!

    HI ,
    I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
    I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list  but still I am unable to get any additional button on the output ALV popup.
    Please help.
    Regards,
    Kavya.

  • How to Add Print Button in the Online Payslip

    Dear Friends,
    How to Add Print Button in the Online Payslip (Employee Self Service). Can anyone pls let me know about this ..
    with regards
    Swpana

    Hi,
    Please review the following documents.
    Note: 332402.1 - Can You Mass Print Of Online Payslips?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=332402.1
    Note: 256072.1 - Payslip V4.0 Print Button Is Missing
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=256072.1
    For details about Deposit Advise and Checkwriter, please refer to:
    Note: 459306.1 - XML Checkwriter/Deposit Advice
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=459306.1
    Regards,
    Hussein

  • Add a Button in a table header Webdynpro

    Hi all,
    how can'i add a button in a table header ? and how/where schould be implemented?
    thank you all

    Hi,
    If you want to create Some custom buttons in ALV, you need to write some coding.
    Please go through this...
    ALV with user-defined buttons on toolbar in wd abap
    Re: Adding custom button in standard toolbar in ALV
    If you want to create button is table toolbar. steps :
    1. create TABLE UI Element in view - go to ROOT UI ELEMENT CONTAINER( right side here you find inserted Table ) - Right click on that ->you fined one option INSERT TOOLBAR, click this-> it will insert Toolbar again right click on this tool bar-> You wil find insert
    toolbar element->select Toolbar button. It will insert toolbar and buttons.
    Cheers,
    Kris.

  • How to add more comments in the Nomination Header notes tab

    Short Text 
    How to add more comments in the Nomination Header notes tab 
    In the nomination screen, there are the tabs for header and item notes.
    Within each of those tabs, there are categories for the type ofcomments. Currently in the nomination maintenance screen header notes
    there are onlythree comment categories are available 1) General comments 2) Carriercoment 3) Shipper Comment and We would like add more comments in this
    section. In the configuration we couldn't find a place where we can add
    more customer specific comments. Can we add comments in the header
    notes tab and if so where can we add the additional comments ?

    Hello Giri,
    You could try the following to create new text types for nomination header.
    1) Execute transaction SM31
    2) The view here is V_TTXIDI
    3) Click on maintain .
    4) Create new entries .
    5) Since you want to add new more comments in the nomination header enter the text object as OIJRCODE_H
    6) Enter a text ID starting with Z
    7) Enter a description and save the new entry.
    In case you want to add new comments at the item level use the text object as OIJRCODE_I.
    When you restart the transaction O4NM again you will see the new entry added.
    This will solve the issue.
    Regards,
    Sandil

  • In table view, how to add one button for selecting page?

    Hi Experts,
    In the OBIEE 11.1.1.6, we have one uncommon requirement that customers want to randomly select actual page to view expected data in table view.
    For example:
    We make use of some columns to create one report in table view, and set 'Rows per Page' equal to '5',
    if this report contains 60 rows, it will have 12 pages, so customers want to select sepcial page number to view the some data. Is it possible to implement this requirement? Maybe we should write JS code.
    Note: Below table view, it has four buttons: First Row, Previous Row, Next Row and Display (500) rows in per page. So we want to add one button to select per page.
    We look at orgnial codes in WebBrowse, but do not know the following codes derive from which JS file.
    Could you please tell me how to find this file?
    <td class="TapeDeckCell"><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/first_dis.png" title="" alt="" ><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/previous_dis.png" title="" alt="" ><img class="TapeDeckImageEna" onclick="PTRowScroll('saw_5083_b','5','5', event)" onkeypress="PTRowScroll('saw_5083_b','5','5', event)" src="res/s_blafp/viewui/pivot/next_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/next_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/next_dwn.png');" title="Next 5 Rows" alt="Next 5 Rows" ><img class="TapeDeckImageEna" onclick="*PTRowScroll*('saw_5083_b','-1)', event)" onkeypress="PTRowScroll('saw_5083_b','-1)', event)" src="res/s_blafp/viewui/pivot/showallrows_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_dwn.png');" title="Display maximum (500) rows per page" alt="Display maximum (500) rows per page" > <Span class="TapeDeckRecords">Rows 1 - 5</Span></td>

    Hi Kobe,
    Thanks for listening me.
    I agree 11g have some issues unlike 10g. I've tried the same by creating a measure rcount(1) and name it as Page in RPD. I just pulled column Page in pivot table section 'Pivot Table Prompts' it is working but this may not answer your requirements.
    I would suggest to use the column in Prompt and go by between operator to allow user to select the rows between.
    In the report make Page as prompted.
    If you are okay with this can look forward to tweak it further, like values in the prompt multiple of 5 or 10s some thing like that.
    let me know updates on the same.

  • How to add one button at top of table that creates new rows each time a user clicks on it?

    In the help guide, there is an example of adding buttons to each row - an Add Row and Delete Row button.  I am interested in having one button at the top of the table that can add rows. 

    Hi,
    You can create a table with a header row, where you can place your add button in one of its cells.
    Then you need a script to create a new row in the buttons click event. In a table named 'Table1' with a row named 'Row1' it looks this way:
    Table1._Row1.addInstance()

  • Add a button on the Table view screen

    Hi ,
    i need to add a button to da table view screen for which i have created a transaction also.How do i go about it?
    please help.
    Thanx and Regards,
    Srestha

    <div><button
    style="float:left;">LEFT</button><button
    style="float:right;">RIGHT</button></div>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "-Michael--" <[email protected]> wrote in
    message
    news:edf6hm$aea$[email protected]..
    > How do i add a button at the top left side of the
    screen, then in the same
    > row
    > add a button to the right side of the screen. (I want
    the buttons to stay
    > left
    > and right nomatter how big the users computer screen is)
    >

  • How to add one column into the t.code: cat2

    Hi
    I am userexits
    here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
    how to do this...
    thankx

    hi,
        CATS0005           
        CATS0007           
        CATS0009        
        CATS0010        
        CATS0012.
        Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements.

  • How to add a button on the ALV LIST pop up

    Hi ,
    Can any one help me to add a button on the ALV list which is a pop up using ABAP Objects.
    Thanks in advance.
    Regards,
    Kavya.

    HI ,
    I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
    I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list  but still I am unable to get any additional button on the output ALV popup.
    Please help.
    Regards,
    Kavya.

  • How to add a button to the toolbar of standard transaction

    hi friends
    currently i am working in IS-OIL(DS)-TSW module, in which we need to add a button to the toolbar of standard transaction(O4nm)
    can anybody help me how to proceed with this
    with regards
    s.janagar

    Hi,
    To be able to add a button to the toolbar of a standard transaction, you can use GuiXT which is a bundled solution within SAP R/3 or Netweaver.  With GuiXT, you can create your own pushbuttons within an R/3 screen or within the toolbar. You can make both the menu functions and the navigation to other transactions directly accessible with your own pushbuttons along with a new icon that you wanted to assign to the pushbuttons.
    Also, you can customize the pushbutton's size effortlessly.  And in your situation of adding it to the toolbar, GuiXT can help to set your pushbuttons automatically to fit onto the toolbar with its designer tool.
    For more information about front end changes, you can view more information about GuiXT at http://www.guixt.com/site/solutions.php
    Thank you and hope this helps!

Maybe you are looking for

  • Memory and No. of Processor calculation for Oracle EBS R11 and R12

    Can some one please tell me -. How to calculate required Memory and No. of Processors for Oracle EBS R11 and R12. For example we have 50 Concurrent users and 100 named (i.e. the users which are doing only Data entry.), so how to How to calculate requ

  • HT1657 can I play a rented movie on an Apple TV 2nd gen while downloading?

    Can I play a rented movie from itunes on an Apple TV 2 while the movie is still downloading? I can watch it on the Mac that it is downloading on but the air play symbol does not appear to be apple to select the ATV. Does the movie have to completely

  • BADI CRM_MKTPL

    Hi, In transaction CRM_MKTPL - Marketing Planner I need to set by default the field Profile (CRM_JSTO-STSMA). I'm trying to use the method MODIFY_FIELD_ATTR in the badi CRM_MKTPL. But.... i'm a bit confused. Has someone already done this kind of thin

  • How to use 'build array' (concatenate) to create a array horizontally?????HELP

    I want to link nine arrays whose dimension is 2*2 horizontally,but the function 'build array' (concatenated way) made them vertically.........help me please..........maybe this is too simple.........since I am only a students who learnd labview only

  • Sftp configuration on 11.2.0.3 using the ftp component

    Could someone provide a simple sftp connection configuration? I'm getting the following message while trying to execute sftp (oracle OS user can connect manually from the server without a password). "RPE-02235: The operating system has reported that