JTABLE - horizontal scrolling only for some columns

Hi all,
In my JTABLE I have to scroll the horizontal scrollbar only from column 5 to the last, the columns 0 - 4 should be fixed ! Is this possible ?
Thanks in advance,
Arpana

Please see
http://www.senun.com/Left/Programming/Java_old/Examples_swing/JTableExamples1.html
http://www.senun.com/Left/Programming/Java_old/Examples_swing/src/examples/FixedColumnExample.java

Similar Messages

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Horizontal scroll bar for the adf page

    Hi,
    We have around 7 tables in single jsff page. Here , we have a requirement like :
    We need to show horizontal scroll bar for the entire page instead of each table. Is there any way to get this.
    As of now, we have horizontal scroll bar for each table, but our customer is not accepting this, that want the scroll bar for the entire page.
    Please suggest the approach.
    Thanks

    I have grouped all the tables in panelgrouplayout.So, what is the problem (because it is not quite clear what you need)?
    If your PanelGroupLayout is with layout="horizontal", then the tables will be rendered next to each other horizontally but there will be no horizontal scrollbar on the page.
    If your PanelGroupLayout is with layout="scroll", then the tables will be next to each other vertically and there will be a horizontal and a vertical scrollbar on the page (if necessary).
    If you need your tables to be relocated next to each other horizontally and to have a horizontal scrollbar on the page, then use a PanelGroupLayouts(horizontal) inside a PanelGroupLayout(scroll):
    <af:panelGroupLayout layout="scroll">
      <af:panelGroupLayout layout="horizontal">
        <af:table> ... </af:table>
        <af:table> ... </af:table>
        <af:table> ... </af:table>
      </af:panelGroupLayout>
    </af:panelGroupLayout>If your problem is that you still have horizontal scrollbars inside the tables, then you should set appropriate widths to the corresponding tables (e.g. to <af:table> tags) such that they are large enough to fit the sum of corresponding column widths.
    ya, I know that its not god design, but its customer requirement, so we need to do that.If you expect some table(s) to be stretched automatically according to the size of browser's window, then you should re-think your UI design because PanelGroupLayouts do not stretch their children. A possible solution is to use a combination of PanelSplitters or other layout containers that stretch their children.
    Dimitar

  • REG:: Horizontal scroll bar for pdf

    Dear All,
    I am displaying data in a table in Portal and this table has 13 columns in it. I am writing all this data from the table to a PDF and I am able to generate a PDF. 
    This generated PDF clips the data on the right side, i.e. it shows few columns only.
    I need to have the horizontal scroll bar for the generated pdf output file.
    Can anyone guide me how to achieve this.
    Regards,
    JayPal.

    hi pal,
    refer this help
    http://help.sap.com/saphelp_webas630/helpdata/en/3f/c0ae3dacbff972e10000000a114084/content.htm
    bvr

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Scrollable frame ignores 'horizontal scroll only' on iPad3

    Has anyone else come across this issue.. I have a 1024x788 folio article set to PDF. It renders nicely on both iPad 2 and iPad3, but scrollable frames set to 'horizontal scroll only' (which work perfectly on iPad2) still scroll vertically as well as horizontally on iPad3.  The images pasted into the scrollable frame are cropped top and bottom. Making the frame the same height as the images works, but doesn't explain the difference between the two iPads.

    Hi Felipe,
    There are multiple reasons for choosing HTML articles instead of indd.
    1. size. imagine around 20 pages of this content. the background pattern alone is in html one 4x8px gif repeated from HTMLResources, whereas in indesign it would be a picture of the whole canvas on each page on every 20 pages.
    2. stylesheets. If i feel that the headers need to be in a different font or size, i can change the one stylesheet in my HTMLResources instead of opening 20 indd files.
    3. Speed in desking job. It takes me not even a quarter of the time to insert all the content into the html articles compared to indd. Indesign is a much clunkier and heavier program to use than notepad.
    I could go on, but I guess its no point in this thread..

  • How do I add a new user to my account? But I wanna give him a special product (e.g. InCopy) only for some month...

    I am admin and I want to add a new user to my account. But as written above, I want that he/she will get this product only for some month and not for a whole year.
    Thanks for the help.

    Team license links that may help
    -manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • How to disable sorting for some columns in a ALV GRID?

    Hi i have requirement where I have to disable sorting for some columns in a ALV GRID. i am using REUSE_ALV_GRID_DISPLAY function module.
    Can anybody help me. how to acieve this? Any code snippets will really be appreciated.

    Hi,
    I have tried this but not completely successful. I think this can be done using the OOPS method.
      DATA: it_event_exit TYPE  slis_t_event_exit.
      DATA: w_exit TYPE slis_event_exit.
      w_exit-ucomm = '&ODN'.
      w_exit-before = 'X'.
      CLEAR w_exit-after.
      APPEND w_exit TO it_event_exit.
      w_exit-ucomm = '&OUP'.
      w_exit-before = 'X'.
      CLEAR w_exit-after.
      APPEND w_exit TO it_event_exit.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program          = w_repid
          i_callback_top_of_page      = 'ALV_TOP_OF_PAGE'
          i_callback_html_top_of_page = 'ALV_HTML_TOP_OF_PAGE'
          i_callback_user_command     = 'USER_COMMAND'  <- User command form
          is_layout                   = wm_layout
          it_fieldcat                 = wt_fieldcat
          it_events                   = i_events
          it_event_exit               = it_event_exit    <- Need to fill
          it_sort                     = wt_sort
          i_default                   = 'X'
    Now you can capture this events in the user command
    FORM user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      IF r_ucomm = '&OUP' and rs_selfield-SEL_TAB_FIELD = 'Your field name'.
      ENDIF.
    ENDFORM.                    "user_command
    In this form you will get the function code in 'r_ucomm' and the field selected for sorting in 'rs_selfield-SEL_TAB_FIELD'. But reseting 'r_ucomm' will not work.
    May be somebody else can give some help on this.
    But this will work if you follow the oop method.
    Please see this document for more info.
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf
    Thanks
    Vinod

  • Horizontal scroll bar for combo/lsit box in JSP

    hi,
    i want "Horizontal Scroll bar" for combo box to display long names.
    regards,
    krishna

    Not a JSP issue. Look up styles, CSS, and dynamic HTML. They should help.

  • Auto closing of dispute cases--only for some company codes

    Hi
    We have activated dispute management for several company codes in our system. The auto closing of dispute cases also has been activated in status management. Cases are automatically closed by the system (through a batch job) when the last disputed object is cleared.
    Now there is a requirement to deactivate auto closing only for some company codes. They want to close cases manually in these company codes.
    Is this possible and if so how?
    Regards
    Raj.

    You cannot deselect at a company code level.
    Can we go through you proposed process.
    So you have a dispute for $100.
    The customer pays it and the dispute closes.
    Then the customer calls up and says they have an issue with the invoice they paid previously.
    I have seen this happen before but there was a little twist
    1 - The customer raised a debit note against the client for the issue that they had. The original invoice is cleared but a debit note is created and then disputed and processed. So you can close the original dispute and create a new dispute against the debit note
    2 - The customer paid the wrong invoice. The dispute was closed. However to rectify the miss allocation the clearing document will be reversed meaning the dispute is "re-opened" and can be processed.
    I am unaware of any other requirement for a customer to "re-dispute" a paid item in SAP.

  • Showing Sub-Totals only for Specific Column in PowerView

    Hi,
    Is there a way of showing the sub-totals only for specific columns in a PowerView Matrix?
    I am only aware of showing the sub-totals for all or non of the columns.
    Thanks and Regards,
    Justin

    Hi Justin,
    According to your description, you want to get sub-totals specific columns within columns group. Right?
    In this scenario, we can use IIF() function in expression to achieve your goal. The expression will only return the total value when the column value is a specific value, otherwise we can make it return nothing. Try the following expression:
    IIF(Fields!Column.Value="[specific value]",Sum(Fields!Total.Value),nothing)
    We have tested this scenario in our local environment. Here are screenshots for your reference:
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • PA only for some CC under some controlling area

    Hello!
    If all company codes are under the some controlling area, when CO PA operating concern is created, how can I activate CO PA only for some company codes and not to others?
    Is there a way we can restrict all postings to PA only in some company codes?
    What are the basic steps to activate planning in CO PA?
    (transactions, procedures, etc)
    Many thanks in advance!
    Alexandra

    Try Season Pass FAQ's >  iTunes Store: Complete My Season frequently asked questions (FAQ)

  • Horizontal scroll bar for each page of the ADF page???

    Hi Everyone,
    I have developed one ADF page which is working very fine.
    The width and height of the page is more by which it is showing vertical scroll bar and horzontal scroll bar at the end(bottom) of the page.
    But the requirement is that the horzontal scroll bar should be displayed for every page when we scroll down but it is displaying at only bottom of the page.
    How can i include horizontal scroll bar?
    Any suggestions wil be really useful.
    Thanks.

    See if this works:
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl2" layout="scroll">
    <af:panelGroupLayout id="pfl1"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    Drop your content inside the second panelGroupLayout

  • Urgent!!!!Add a Horizontal Scroll Bar for Table Control

    Hi Experts,
    I want to have a Horizontal Scroll Bar on my Table control.
    I tried with few properties for the Table UI Element but not able to solve it.
    If any one who had already done this please help me out.
    Thanks in advance..
    Regards, Kishore K

    HI Koen,
    Thanks for early Reply.
    When I use this I get
    Page Down ( ->!!, Arrown with lines pointing Down)
    Page UP
    Page Top    ( ->, Arrown with lines pointing Top)
    Page Down ( ->, Arrown with lines pointing Down)
    But I need only Page top and Page down for this Table UI .
    I think my question is clear enough.
    Please let me know this also.
    Thanks & Regards,
    Kishore K

  • How to set Display Only for some records in CAT2 Worklist

    Hi,
    I have a requirement to modify an attributes for some records in the Worklist of CAT2.
    We have an external system where we book our time. Weekly we import data from that external system into CATSDB using BAPI for every single employee.
    We would like when the user wants to modify his time sheet to be able to add/modify all records except those which were imported from the external system. Which means that those records should be in Display only mode / grayed out / before release.
    Is there any user exit or BADI that could help to modify that attribute and that will be triggered before displaying the Worklist ?
    Please advise !
    Thanks,
    Stefan

    I've solved the problem.
    First I've added customer field in CI_CATSDB structure and when I am importing the data I am populating that field with 'X', which means that this is record from the external application.
    I've created enhancement implementation in Function group->CATS, screen->2003 MODULE->D2000_MODIFY_LOOP, subroutine->modify_d2000_loop where I am checking the field mentioned above if it is 'X' I am modifying the screnn-output = off.
    It works, thak you for your help.
    Regards,
    Stefan

Maybe you are looking for

  • Final Cut Pro HD and Quicktime Pro????

    Can anyone tell me if I need to have Quicktime Pro in order to be able to edit movie files in FCP HD? The Quicktime files I have in my Capture Scratch are on an external hardrive and WERE CAPTURED FROM A COMPUTER USING QUICKTIME PRO. My Powerbook has

  • My Power Mac G3 Starts but has a box with a (?) in it

    Hello I am new here and wanted to know what you guys think of this because i am not necessarily a mac pro. When i start my Power Mac G3 All that comes up on my screen is a box with a question mark in it. What i think that means is that i need a new o

  • Any tips? Screen is black, no icons, receives calls but can't answer

    None of the touch functions is working on my iPhone screen. I cannot turn the phone on or off. I tried syncing. When I call the phone a screen image come sup, but I cannot answer the call without the touch screen. I had no problems until tonight. Wor

  • Biller Direct configuration for AR and AP

    Hello, I have Biller Direct 6.0 installed and already configured XCM, but I would like to know if its possible to configure the application with Accounts Receivable and Accounts Payable at the same time to show bills from  both? Thanks.

  • Select on dictionary

    Hi, on 11g I have the follwing error . What is wrong with syntaxe : SQL> GRANT SELECT ON ANY DICTIONARY TO myuser; GRANT SELECT ON ANY  DICTIONARY TO myuser GRANT SELECT ON ANY DICTIONARY TO myuser ORA-00903:                         *Thanks.