How to make Hgrid number format data right justified.

This code works fine for table numer format data formatting, but does not work on hgrid?
OATableBean tableBean = (OATableBean) webBean.findIndexedChildRecursive("LoginHistoryVO11");
tableBean.prepareForRendering(pageContext);
DataObjectList ColumnFormat = (DataObjectList)tableBean.getColumnFormats();
DictionaryData myColumnFormat = (DictionaryData)ColumnFormat.getItem(pageContext.findChildIndex(tableBean,"UserName1"));
myColumnFormat.put(COLUMN_DATA_FORMAT_KEY ,NUMBER_FORMAT );
any idea how to achieve this in hgrid?

i m sorry, made a minor mistake its working....! :)

Similar Messages

  • How can I make lining number format for opentype fonts in Acrobat?

    How can I make lining number format for opentype fonts in Acrobat?

    I bought the Max OT font. I want the numbers on the right to look like on the left. I could do that in word, but not in adobe acrobat.

  • How to set page number & current date in sqlplus result

    how to set page number & current date in sqlplus result

    Hi,
    Use the TTITLE command. For example:
    SET     PAGESIZE     15
    TTITLE     LEFT  &_date     RIGHT  "Page:" FORMAT 999 sql.pno     SKIP 2
    SELECT     ROWNUM
    ,     ename
    FROM     scott.emp
    ;Output:
    12-Jan-2011                    Page:   1
        ROWNUM ENAME
             1 SMITH
             2 ALLEN
             3 WARD
             4 JONES
             5 MARTIN
             6 BLAKE
             7 CLARK
             8 SCOTT
             9 KING
            10 TURNER
    12-Jan-2011                    Page:   2
        ROWNUM ENAME
            11 ADAMS
            12 JAMES
            13 FORD
            14 MILLER 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data. If your question is based on commonly available tables, like those in the scott schema, then you don't have to post any sample data: just post the output.
    Explain how you get those results from that data.
    Always say what version of Oracle (and other relevant softward, SQL*Plus in this case) you're using.

  • PA04-How to make existing Number Range/interval external.

    Question: PA04-How to make existing Number Range/interval external.
    One of the Pernr Number ranges/interval in PA04 is Internal(box is
    unchecked) and i want to make it "External" (check the box) to load some data.
    Issue: The issue is, the check box is Greyed out and i can not check it. But i have access to
    everything else in PA04:
    - create and delete number ranges
    - change the "Current number"
    - Uncheck the box to make the External to Internal.
    But i can not Check the box to make it External from Internal due to the greyed
    out box for this number range.
    The only solution i can think of about it is to - Delete the number range
    and add it again and check the box when doing that. And once the Data load is done Uncheck the box.
    Is there a better option..?

    Once you have made your decision to define a number range as 'internal' it is not possible to reverse this. check this http://scn.sap.com/thread/1976017

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How to increase the number of data Business Object can pull for a report?

    Hi,
    I would like to ask around how to increase the number of data Business Object can pull for a report. I have a report which pulls data depending on the date range (ex. From 01/01/2007 - 01/10/2007). But, when the data that is pulled exceeds 5000, the report fails. Is there anyway to increase the number of data that BO can pull?
    Thanks

    Bobby,
       to my knowledge we can't change that. Let me explain this, we have setting in the source system for DS default Data Transfer. there we will assign the processes. if you want to assign 4 you need to change the setting in the source system. For flat files we can change in BW System. We can maintain the setting in the Infopackage level(wht we are assigned in the Source System), but we can't change the process.
    in order to check the setting in source system  SBIW--> General Settings --> Control Parameters for Data Transfer.
    we need to change here, this will effect to all the Data Sources. Before making changes check with your basis.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • How to make the exchange of data between 2 while loop in real time

    hello
    I have 2 while loop
    the 1st while loop includes the data acquisition program
    the 2nd while loop includes the control program
    my question is how to make the exchange of data between 2 while loop in real time
    I tried with the local variable and direct wiring between the 2 while loop
    it does not work (there is a delay)
    Solved!
    Go to Solution.

    Bilalus,
    Queues are only good to transfer data if your application isn't deterministic. Since you are using Real Time, I am assuming that your application requires determinism. If you are using Timed Loops and you use queues to transfer data between your loops, you are losing determinism. In this case, you need to use the RT FIFO functions. 
    Warm Regards,
    William Fernandez
    Applications Engineering
    National Instruments

  • How to make linkage query In Data Model for search

    I want to make an linkage query as a condition for my  report in BI Publisher. how to make the linkage in Date Model ?

    This is the forum for SQL Developer, not for general SQL or PL/SQL questions.
    Please repost this in the SQL and PL/SQL forum.

  • How to ignore/remove number format mask ?

    Hi
    I have to import some numbers from the excel sheet, and that number has been saved along with the format mask like (9,999.99) (2,000.00,1,500,00,......)
    but that field in my table is a number filed and i have to equal that number with the number that exist in my table
    i have write that relation like
    mytable.filed1=to_number('excel_filed',9,999.000)
    but I does not work
    So what the solution for that
    Thank you

    Double post. See How to remove a number format mask ?

  • Wrting data right justified column

    Hi
    In my application I am using producer consumer loop architechture. In the consumer loop i am writn data from a queue to a file. I want to write data in a certain format to analyze in another program.   Now when i write dat to a file it writes left justified in six columns. I want it to write to file like the one i have attached. Can somebody tell me how?
    Attachments:
    data.PNG ‏53 KB

    Ideally, you would just use a tab as delimiter and change the justification in the other program as needed. For example in MS word you can define how the tabs are justified.
    If you want the data right justified in simple text displays (wordpad, notepad), you just need to ensure that the field width is sufficient for the widest data.
    Try e.g. a format specifier of "%#15_6f' (and make sure that you use a fixed width font for display!)
    Message Edited by altenbach on 10-08-2008 09:53 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    formatRight.png ‏15 KB

  • How to make enhanced fields of data source delta enabled?

    Hi ,
    I have a scenario, in which we are using the DS 0CUSTOMER_ATTR to load the master data.There are some fields added to this data source but this fields are not delta enabled. I have tested these fields from R/3 side using BDCP, CDPOS tables. All the fields are writing the changes correctly. But when extracting them using delta they are not capturing.If we load the full,it is capturing all the changes.
    So running full load every week is taking more time.
    Can any one suggest how to make this fileds delta enabled to capture the change in BW side as well to extract only changed records?
    Any help will be greatly appriciated !
    Thanks & Regards,
    Vishnu

    HI,
    It is not possible to load delta this data. Your datasource only detects changes in the customer table and when any customer has been modified the record is loaded to BW. In this moment the datasource fill the append extructure.
    The problem is that if you modifies some record from the append extructure the datasources doesn't detects the changes. When you does a full load you are filling the append extructure for the entire records and it works.
    If you want to catch this deltas you should make a delta datasource for CDPOS but depending on the number of records of the tables it won't be possible.
    You could check if there is any event to detects the modification and create a delta queue datasource for the append extructure.
    Then, you can mix both datasources in a DSO in BW.
    You can look for a " how to create generic datasources which use delta queue"
    I hope it helps

  • How to apply a number format to a cell within a table in Word 2011??

    I am creating a fillable PDF form and I need to be able to apply a phone number format to a cell in Word 2011 similar to how it is done in Excel...Can someone please HELP me? Thank You!

    846640 wrote:
    I have to import some data form excel sheet. but the number in that sheet have been saveed as the following format mask 1,000.000(2,000.000,1,5000,00) as charchterI am wonder how to apply format mask in excel for the character cell.
    but in may table that field is a number, so how can remove the format mask from the excelsheet?So, while reading from excel how the values is coming in the variable i assume its coming with comma(,) than what happens if you try like below?
    variable_name:=TO_NUMBER(REPLACE(variable_name,',',''));
    -Ammad

  • How to get week number from date

    Hi,
       please mention how to get the number of week from a particular date using fn module?

    Hi Debarshi,
                       Use FM <b>DATE_GET_WEEK</b>
    Reward points if helpful.
    Regards,
    Hemant

  • How to make an user to have right to approve only one specific STS?

    In our BPS STS, we assign user A both on the highest level of one STS hierarchy B and on the lower level of another STS hierarchy C. And because in our real business planning process, A should only have right to approve STS B and can be approved by others in STS C, so we grant authorization "R_STS_SUP" to this user A, but then he has all the authorizations for approving or rejecting plans in both B and C. How to make this user only have authorization to approve STS B? Is there someone can kindly solve this problem? Thank you very much.

    Try to modify tunguska BSP application, OnInitialization handler for page frame.htm contains next code:
      AUTHORITY-CHECK OBJECT 'R_STS_SUP'
               ID 'ACTVT' FIELD '16'.
      IF sy-subrc NE 0.
        application->with_tree = ''.
      ELSE.
        application->with_tree = 'X'.
      ENDIF
    Try to add check for subplan/planning session here and in the case of B and C hierarchy set application->with_tree to blank value.

  • How to make reports based on Data block work on web?

    I am using form 6i and oracle 9ias
    I have successfully call the common reports from the form on the web using run_report_object, then web.show_documnet(..);
    But when it come to the reports based on the data block from the form, it doesn't work. it always fetch all the records from the table which the data block is based
    Anyone can tell me how to make that work?
    thanks

    I have successfully do this when I am running forms and >reports in localhostTell me how did you achieve this?
    Did you have both Reports and Forms running under same oracle home?
    and off course was it a clinet server architecture?
    What version for Form and Reports did you use?
    Which executables did you use and what was your call from forms? When you call from Forms, which Reports executable use to run the report?
    The data integration can only be achive if both the product were running under same Oracle home and were in client server architecture. I do not think data integration is possible in web architecture.
    Thanks
    Rohit (Orcale Reports Team)

Maybe you are looking for