How to keep the cellEditor after remove/add table columns

The cellEditor/render will be invalid after fireTableStructureChange event. How to make the cellEditor work properly as before the structure changed?

After a fireTableStructureChange event the TableColumnModel is recreated and the default renderers and editors are used. If you are using custom renderers or editors you need to reinstall them for the appropriate column.

Similar Messages

  • How to keep the zero after decimal

    Hi,
    I'm trying to store numbers into one of the custom table column. This column must contain unique value for each record.
    Now the issue is if i want to insert a record with zero after decimal point its removing that zero.
    Emp Id (number)
    1234.1
    1234.2
    1234.9
    1234.10 --> 1234.1 (this is what is getting stored in table)
    1234.11
    ...I want to store 1234.10 not 1234.1, is there any way that i can store zeros as well after decimal point for NUMBER data type column.
    Thanks in advance,

    Hi,
    Your appending sequence number should be with leading zeroes like
    1.001
    1.002
    1.003
    1.009
    1.01
    1.011 etc
    based on the numbe rof records you haveTry this and see if this fits for you
    DECLARE
       CURSOR c1 IS SELECT * FROM custom_table1;
       i              NUMBER;
       l_len          NUMBER;
    BEGIN
       SELECT LENGTH (COUNT (*))+(LENGTH(some_seq.currval)-1) INTO l_len FROM custom_table1;
       FOR c1_rec IN c1
       LOOP
          i           := some_seq.NEXTVAL;
          INSERT INTO test_tab (ID, NAME, amount, create_date)
               VALUES (c1_rec.ID || '.' || TO_CHAR (i, rpad ('0', l_len, '0') || '9')
                      ,c1_rec.NAME
                      ,c1_rec.amount
                      ,c1_rec.create_date);
       END LOOP;
    END;G.

  • How to find the sum of an advanced table column?

    Hi All,
    Good Morning..
    I have requirement where i need to calculate the sum of a column in an advanced table.and i need to put that value into some other field.
    i am doing customization so i can't touch the Standard page properties.so i need to achieve it through Pro-grammatically..
    my column name is unit price in the advanced table region.so i need the code to calculate the sum of the unit price.
    Thanks in advance
    Bharat

    Hi Bharat,
    No need for Programatic way as Advanced Table already provides this facility.
    The following steps describe how to enable Totaling for a column in the footer of an advanced table.
    Step 1: In the Structure pane of OA Extension, select the column container for which you want to enable Totaling Any column except for the first column can be totaled. Set the Total Value property for this column container to True.
    Step 2: In the Structure pane, select your advancedTable region and choose New > footer from the context menu. OA Extension creates an advancedTables Components folder containing a footer named child, that contains a tablefooter container (labeled tableFooter1).
    Step 3: Select the tableFooter container and choose New > total from the context menu. OA Extension creates a tableFooter Components folder containing a total named child, that contains a new totalRow item as shown in the figure below.
    Please let me know if you are still unable to get the Total Column
    HTH,
    Regards,
    Syed.

  • How to change the css behaviour of af:table column with rowheader

    Hi
    Can we change the css look and feel of the af:column with rowheader attribute set true ? Currently I am getting a projected look with shades in the left side. I want it to be like normal af:column style. If there any specific styleClass I need to put please provide the details
    THanks
    Suneesh

    Hi,
    you can use skinning for this. The skin selectors are shown here:
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm
    Frank

  • How to keep the filtered output in a page after user navigates back?

    How to keep the filtered output in a page after user navigates back to all records from another page.
    Currently it clears the search

    Hi,
    user13091824 wrote:
    How to keep the filtered output in a page after user navigates back to all records from another page.
    Currently it clears the search---While returing from page AM Return status should be True in pageContext.setForwardURL.:::
    pageContext.setForwardURL("OA.jsp?page=/XXX/oracle/apps/po/msg/webui/SearchPG",
    "SUPP_SEARCH",
    OAWebBeanConstants.GUESS_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    ---After setting AM Status to true u can able to c the values.
    Regards
    Meher Irk

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • How i can keep my code after %dba standard table in sap query

    hi expert,
    how i can keep my code after %dba standard table in sap query..
      add 1 to %count-VBRP.
      %linr-VBRP = '01'.
      extract %fg01.
      %linr-VBRP = '02'.
      extract %fg02.
      %linr-VBRP = '04'.
      extract %fg04.
      %linr-VBRP = '05'.
      extract %fg05.
      %ext-VBRP05 = 'X'.
        extract %fgwrVBRP05.
    endselect.
    i want keep my code after filling the standard table generated by sap abap query
    Thanks & regards
    Sajad Ahmad

    Hi,
    the above code is excuted succesfully, but if i have
    return "Navigation" ;
    it is not working
    any idea why??????????

  • How to keep the APP-tabs ?

    The App-tabs are realy good for me, but how to keep them ?
    After change the design of FF, all the app-tabs gone
    Restarted FF and after checking for updates - all app-tabs gone..
    Any idea waht I may did wrong ??

    The App-tab data is stored in the file sessionstore.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] as part of the session data.<br />
    Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    Is the file sessionstore.js created by Firefox?<br />
    See also http://kb.mozillazine.org/Session_Restore
    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.<br />
    Also make sure that you do not use cleanup software like CCleaner that can remove sessionstore.js

  • How to keep the WBS & Order in account assignment tab of SD contract item?

    Hi Experts,
    If I remove the plant from the shipping tab in the contract item (the contract type is WV), I will be able to enter the WBS or Order in accounting assignment tab. However, if I enter the plant (in order to determine the tax in pricing), the WBS and Order are disappered and there is one new settlement rule button showed up.
    Do you know any configuration could keep the WBS and order in the accounting assigment tab even the plant is there.
    Thanks in advance!
    Norman

    Hi Chandra,
    Thanks for your answer. However, I even added the plant in the WBS, the tax (we use tax jurisdiction) still could not be determined.
    The problem is that SAP changes the account assignment tab screen (it suppresses the WBS and Order fields, but addes settlement rule) with the plant in the shipping tab. Do you know how to keep the same account assignment tab screen with the plant in the shipping tab?
    Thanks,
    Norman

  • How to keep the data entered on a page apex

    how to keep the data entered on a page apex
    so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing data

    Hi,
    As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
    Andy

  • HT202213 how to keep the songs on your iphone

    i have itunes home sharing i would like to know how to keep the songs on your iphone after you turn home sharing off or get out of range.

    You sync them via iTunes.
    You canot copy them to the iPhone using Home Sharing.

  • How to cut the zeros after the decimal point ?

    Hello everybody,
    does anyone know a solution how to cut the zeros after the decimal point at at CHAR data field?
    For example the field
    &RM06P-PRMG1&
    This is a char field in the database, so that the command
    &RM06P-PRMG1(.0C)&
    doesn't work.
    At the moment the output on the form is like that
    124,000
    It shoud be like that
    124
    It would be great if anyone could help me!
    TIA!
    Strobbel

    Hi Strobbel,
    If you are working on standard sapscript, first make a zcopy of it, do the modifications in that and assign the new form to the output types in tcode NACE.
    First you need to create a program to write the logic, so go to tcode SE38 , create a new program (say zremove_zero) with Program type Executable.
    Now you will see ABAP Editor with statement;
    Report zremove_zero.
    Add the following lines below the report statement.
    *&      Form  remove_zero
    *       text
    *      <--lv_AMT  text
    FORM remove_zero  CHANGING lv_amt.
      DATA p_amt TYPE p.
      MOVE lv_amt TO p_amt.
      MOVE p_amt TO lv_amt.
    Condense lv_amt.
    ENDFORM.
    Now save and activate the program.
    Now open the zcopy of your script and Just above the statement  &RM06P-PRMG1& write the following lines;
    /: perform remove_zero in program zremove_zero
    /: changing &RM06P-PRMG1&
    /: endperform.
    Now you can see your amount printing without decimals.
    Try and let me know, hope i have guided you clearly.
    Regards
    Karthik D
    P.S.: I advice you to take help from an ABAPER.

  • How to keep the MB powered on with Lid closed

    How to keep the MB powered on with Lid closed and no monitor connected?

    You can't. And you shouldn't due to heating issues.
    There are however 'hacks' that allow you to bypass
    this.
    http://www.alxsoft.com/mac/sleepless.html
    http://semaja2.net/insomniaxinfo/
    Blackbook C2D   Mac OS X
    (10.4.10)   120Gig, 1Gig, Superdrive.
    This may be true of overheating, but ONLY in the iBooks and very old laptops, if you think about it what is the difference between native clamshell mode (Using the monitor/keyboard etc) and the hacked clamshell mode? does plugging a screen in to the laptop some how create more ventilation :S
    This rumor is really really wrong, and as stated only affected the old machines which were not capable of native clamshell mode, but of course we keep the warnings there because we dont want to be sued if some idiot places it in there laptop bag while rendering a movie.
    PS. If anyone can give me evidence to prove otherwise i will add it to the investigation that im slowly compiling to "bust" this annoying myth

  • How to enable the screen after triggering the error message

    Hi All,
    we have a tcode IW31, in that one field(WBS element -PROID) is not mandatory. so we have written the following code to make it mandatory in a user exit EXIT_SAPLCOIH_010.It's triggering the error message, but it is going into disable mode. Please sugget me how to enable the screen after getting the error message triggering.
    if not caufvd_imp-proid is initial.
      select single * from t350 into wa_t350
              where  auart    = caufvd_imp-auart
                and  imord    = 'X'.
      if sy-subrc is initial.
        pspel = caufvd_imp-proid.
      else.
        call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
             exporting
                  input  = caufvd_imp-proid
             importing
                  output = l_posid.
        concatenate text-t10 l_posid text-t11
                    into l_textline1 separated by space.
        message i208(00) with l_textline1.
      endif.
    else.
      message e208(00) with 'Please maintain WBS element in Location Tab'.
    endif.
    Thanks

    Hi,
    Instead of error message use status message like
    message s208(00) with 'Please maintain WBS element in Location Tab'.
    Leave to screen sy-synnr.
    This will allow to move to the screen and have in enable mode.
    WIth Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Feb 13, 2009 7:46 AM

  • The popup window won't open at a normal size. Any ideas on how to keep the popup window a normal size when opening?

    I recently did the latest update for my MacBook Air and when I use a specific website it won't open the popup blocker at a normal size. Any ideas on how to keep the popup blocker at the size that I select?

    This is a user to user forum and Adobe Staff does drop by.
    First thing to try is Reset the Type Tool by right-clicking on its' icon in the Options bar.
    If you still have problems, it could be related to fonts. Here is a step by step troubleshooting help doc for that.
    Troubleshoot fonts | Photoshop CC 2014, CC, CS6, CS5
    And basic troubleshooting: Photoshop: Basic Troubleshooting steps to fix most issues
    Gene

Maybe you are looking for

  • Not able to estabislt phase1 of site-to-site VPN

    Hi Experts, Site-B(router)------Modem------Internet--------Site-A(router) I'm trying to create a Ipsec Site-to-stie VPN between cisco2900 & cisco 861 and below is the scenario. kindly find the connectivity diagram in attached files. The issue is ther

  • Setting Up Transport Routes

    Hi, Can you Please send me some Document's or screenshots of setting up Transport Routes between ECC>>> DEV-QA-PRD Systems on [email protected] Thanks in Advance.

  • Hyperion Reports Error

    Hi, Can one face this kind of error.Hyperion reports 7.12 message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.io.FileNotFoundExcepti

  • Send data using exel file to function generator

    Hi all, I have one function generator which I controll with LabVIEW, I attached here the simple code. I would like that code read some data from exel file . May you please help me? Thanks Attachments: DG4000General.vi ‏43 KB

  • IRQ and SATA HD problems hangs computer

    I tried installing AL 0.7 on my desktop. It has a Asus a7n8x-deluxe motherboard with one IDE HD and one SATA HD. It uses the Silicon Image chip for SATA. During the installation boot up process, the kernel detects the SATA drive but it later hangs wh