Standard Hgrid region

hi All,
i thk previously i confused u ppl a lot....thats why im not getting any replies...
im now tryng to tell my problem in a simple way....please help guys.....
there is a Hgrid region . when we click on a "GO" button some results for pricelists are shown.
when we click on expand button near a particular pricelist line we get the items of that pricelist.
i want to apply a filter such that when we click on expand button the items should get filtered and only the required ones needed to be shown.
Regards
Aniket

hi All,
i thk previously i confused u ppl a lot....thats why im not getting any replies...
im now tryng to tell my problem in a simple way....please help guys.....
there is a Hgrid region . when we click on a "GO" button some results for pricelists are shown.
when we click on expand button near a particular pricelist line we get the items of that pricelist.
i want to apply a filter such that when we click on expand button the items should get filtered and only the required ones needed to be shown.
Regards
Aniket

Similar Messages

  • Help Required in Steps to create Hgrid Region

    Hi
    Guys
    I want to create a hgrid region in my oaf for some requirement. can any one please help me to create HGrid or Provide Basic steps.
    Please maill me the document to [email protected]
    I Appreciated your people to come out from this issue.
    Regards
    Santhosh Kumar. K
    [email protected]

    Hello
    As I'm not really fluent with English, I tell you that detailed explanations are given in the Help in a chapter entitled: "About Charts"
    As values must be in a header to be used as labels
    and
    as a header can’t be used to display values defined by a formula,
    it’s necessary to use an auxiliary table in a mixed way.
    I assumes that we have a table containing most of our datas. I name it « main »
    I use an auxiliary table named « 4chart ». In this table the column A is a header one.
    As it can’t display formulas, the year values are typed here
    A1 2007
    A4 2010
    In the main table, the block of cells we want to chart is C3 :D6
    In C3 enter a formula grabbing the value of aux table’s A1
    C3 =4chart :: A1
    fill down until C6
    In D3 thru D6 I enter the values.
    Back to the auxiliary table.
    enter the formula
    B1 =main :: D3
    fill down from D3
    thru D6
    Yvan KOENIG (from FRANCE dimanche 27 janvier 2008 15:18:57)

  • Problem using CASE within SELECT in a standard REPORT region

    I'm trying to do a CASE-oriented SELECT within a standard REPORT region and the parser is rejecting the SQL statement.
    The code I'm using is the following:
    SELECT
    CASE
    WHEN INSTR(citation, '@') > 0 THEN
    SUBSTR(citation, 1, INSTR(citation, '@')-1)
    || ':'
    || SUBSTR(citation, INSTR(citation, '@')+1,
    LENGTH(citation) - INSTR(citation, '@'))
    ELSE citation
    END
    FROM citation
    WHERE obj_table_cd = 'FI'
    AND obj_id = :P41_FIND_ID
    ORDER BY CITATION
    The parser says the (case .... ) is invalid, use column alias. The query works correctly when using SQL_Developer and SQL*PLUS.
    My intention is to replace an '@' with ':' within the citation text. The standard citation format should have a colon, but this causes problems with AppExpress, hence the substitution situation.
    Any insights on this or on another way to achieve the purpose?
    Thanks,
    George

    George,
    You should give a column alias after the END of the case statement:
    SELECT
    CASE
    WHEN INSTR(citation, '@') > 0 THEN
    SUBSTR(citation, 1, INSTR(citation, '@')-1)
    || ':'
    || SUBSTR(citation, INSTR(citation, '@')+1,
    LENGTH(citation) - INSTR(citation, '@'))
    ELSE citation
    END citation_col
    FROM citation
    WHERE obj_table_cd = 'FI'
    AND obj_id = :P41_FIND_ID
    ORDER BY CITATIONSam

  • How to print standard report region to a PC printer via Win printer driver?

    I know it's not very sexy, but sometimes an app user needs to print a standard report region to a printer that is connected to their PC. So that they can print their Apex report in the same manner as they do everything else from their PC, using a predefined Windows printer driver is necessary. What is a simple way to add a "Print" button to a standard report that will open the Windows print facility?
    P.S. Apex 4.1
    P.P.S. Hopefully, the solution is simple. i.e. No installation of additional print drivers, etc. The user may not be technologically sophisticated. They simply want a hard copy of information that they pulled up with their Apex app (they don't even know what Apex or a printer driver is).
    Thanks,
    Kim

    Add a Print button or link to the page with an <tt>onclick</tt> attribute that calls the method<tt>print()</tt> method:
    onclick="window.print();"You can also use a print media style sheet to suppress unwanted page elements (tabs etc) from the printed output and optimize the report formatting for print.

  • HGrid Region Expansion

    Hi All,
    I have a requirement in which we click on the expand button (+) on OAF page records gets displayed.
    Now how can we filter this records depending upon the user input ?
    This is a Standard OAF page . Please suggest the way how should this be done .
    I have tried substituting the VO associated with that level where we need filtering of data but when
    we click on the expand button OAF page gets hang.
    Regards
    Aniket

    Hi,
    Is this a custom page or standard one ?
    --Sushant                                                                                                                                                                                                       

  • R12 upgrade causing HGrid tree region issue

    in 11i the HGrid and tree region was showing the expansion (+ ) node and the child records were being shown
    after upgrade to R12, the child nodes are not being shown. Only the parent node.
    checked the view objects and definition of HGrid region. The view objects return rows and the region definition is similar to a standard OAF page.
    Any clues on what could be missing in R12 ?

    Hi,
    Is this a custom page or standard one ?
    --Sushant                                                                                                                                                                                                       

  • How can I use a Looper inside a Repeat Region?

    I have a Dreamweaver standard Repeat Region applied to a HTML table containing two horizontal loopers. The HTML table is to display a list of company contacts for our members. The loopers display find for the first company but after that they stop. To key the loopers to the company Im using a trick mentioned by Günter Schenk in this thread: http://www.adobeforums.com/webx/.59b524b4/5. He calls it a sub query; at times I use to help myself by using some sort of "sub query" like the following
    <br />
    <br />Ive linked my looper recordset to the recordset used for the Repeat Region. Heres one of the looper queries:
    <br />
    <br />$KTColParam1_rsContactFeatures = "-1";
    <br />if (isset($_SESSION["kt_login_id"])) {
    <br />$KTColParam1_rsContactFeatures = $_SESSION["kt_login_id"];
    <br />}
    <br />mysql_select_db($database_RNW, $RNW);
    <br />$query_rsContactFeatures = sprintf("SELECT DISTINCT list_feature.description_feature, company.id_company, contact_cnt.idpremissions_cnt FROM (((company LEFT JOIN company_to_feature ON company_to_feature.idcompany=company.id_company) RIGHT JOIN list_feature ON list_feature.id_list_feature=company_to_feature.idlistfeature) LEFT JOIN contact_cnt ON contact_cnt.idcompany_cnt=company.id_company) WHERE company.id_company='".$row_rsContactAll['id_company']."' AND company_to_feature.id_feature is not null AND contact_cnt.idpremissions_cnt=%s ORDER BY company.id_company ASC ", GetSQLValueString($KTColParam1_rsContactFeatures, "int"));
    <br />$rsContactFeatures = mysql_query($query_rsContactFeatures, $RNW) or die(mysql_error());
    <br />$row_rsContactFeatures = mysql_fetch_assoc($rsContactFeatures);
    <br />$totalRows_rsContactFeatures = mysql_num_rows($rsContactFeatures);
    <br />
    <br />This is my link in both quires: WHERE company.id_company='".$row_rsContactAll['id_company']."'
    <br />
    <br />Heres the code for the connected looper:
    <br />
    <br /><?php<br />do { // horizontal looper version 3<br />?>
    <br />
    <br />
    <br />
    <br />
    <br />As I said this works fine for the first item in the list but then it quits. Heres a screen shot of what I dont want: http://www.retirenw.com/images/help/looper_inside_repeat_region.gif
    <br />
    <br />Is there anyway to change the php for the loopers to make this work?
    <br />
    <br />Thanks for your help
    <table>
    <tr>
    <td>
    <img src="../images/bullet.gif" width="8" height="14" />
    </td>
    <td>
    <?php echo $row_rsContactFeatures['description_feature']; ?>
    </td><?php <br />$row_rsContactFeatures = mysql_fetch_assoc($rsContactFeatures);<br />if (!isset($nested_rsContactFeatures)) { <br />$nested_rsContactFeatures= 1;<br />}<br />if (isset($row_rsContactFeatures) && is_array($row_rsContactFeatures) && $nested_rsContactFeatures++ % 1==0) {<br />echo "</tr><tr>";<br />}<br />} while ($row_rsContactFeatures); //end horizontal looper version 3<br />?>
    </tr>
    </table>

    I found an easy solution.
    I moved my looper quires out of my head and into my bodyinside the repeat region (the Looper Wizard puts the quires in the head). I put the quires right before my looper code. Finally, I had to make sure my conditional regional code came after the looper quires but before the looper code.

  • How do i display additional row details on an hGrid?

    I have an hGrid rendering fine down to 4 levels. IT's defined as:
    PageLayoutRN
    --->hGrid region
    ------>tree region
    --------->members
    ------------>nodeDef1 (set to my master VO, i.e inspection number)
    ------------>childNode1 (set View Link Accessor property to TestsVO )
    --------------->members
    ------------------>nodeDef2 (set to my child level VO, i.e. Test Number )
    ------------------>childNode2 (set View Link Accessor property to ResultsVO )
    --------------------->members
    ------------------------>nodeDef3 (set to my 3rd child level VO, i.e. Test result)
    ------------------------>childNode3 (set View Link Accessor property to ResultAttachmentsVO )
    --------------------------->members
    ------------------------------>nodeDef4 (set to my 4th child level VO, i.e. Result Attachments )
    This all renders fine. NOW i want to add info at each node level. i.e. nodeDef1, I"d like to add other data about the inspection in a table-style display. nodeDEf2, i'd like to add data about the Test. nodeDef3, data about the result. and then finally on nodeDef4, in addition to data about the attachyment, i"d like the filename to be a messageDownload that would link to the actual file in a BLOB.
    I think this is similar to the Personalize PAge page we use in most of self-service apps, where we can collapse/expand an hGrid, but we also see other data elements and actions off to the right. Another example is the About this page link, which has what appears to be an hGrid.
    How do I add these node-level/row-level details ? when I right-click in jdev, i can only choose more members/child-nodes. what am i missing?
    Thanks!

    Glad it is working for you now :)
    --LC                                                                                                                                                                                                                       

  • Can we add button in query region  along with go and clear

    Hi Friends,
    i have a requirement as below steps-
    1)i have developed search pgae by using query regiion
    2) in pgae,first we have search items,go and clear(submit buttons), table region.
    3)here go and clear buttons came automatically.
    4) i can able to add button in front of the page and end of the page.
    4) my requirement is i need to add one more button along with go and clear(here go and clear button are in between search items and table region) .
    5)i am not able to add button along with go and clear.
    Can any one know how to do this--
    Thanks in Advance
    vamshi

    Hi Vamshi,
    You can not create extra buttons in Standard Query region.
    Alternatively you can create your custom region for the search and there you can add a button. If you don't need advanced region, you can create the custom region in place of standard one.
    Anoop

  • Creating a HGrid in OAF, please help!

    Hi all,
    I am trying to create a HGrid to display all the employee names under the root, and the child node under each employee will show his/her manager's name.
    This is how i created:
    1. Create a ViewObject (EmpFullVO): Select person_id,full_name from per_all_people_f;
    2. Create a ViewLink (EmpFullVL) with following properties:
    2.1 Source VO: EmpFullVO, Destination VO: EmpFullVO
    2.2 Source Attribute: Person_id, Destination Attribute: Person_id
    2.3 Query: person_id in (select person_id from per_all_assignments_f where supervisor_id = :1)
    2.4 I have generate accessors at both source and destination
    3. Create a HGrid region(EmpHGridRN) under my pageLayoutRN
    4. Create a tree region under my EmpHGridRN
    5. Under the tree region i have nodeDef1(view instance-EmpFullVO1,view attr-full_name) and Childnode1
    6. Under childnode1, i created nodeDef2(view instance-EmpFullVO1,view attr-full_name) and Childnode2(Ancestor node-/oracle/apps/ak/sample/hgrid/webui/sampleHGridPG.childNode1)
    The final result is not as expected, I just see a Hgrid region with a list of employees and nothing else. i dont know whether i am missing any steps. This is my first Hgrid Excercise, I am unable to find any tutorials/references. Please help.
    I appreciate, if you could provide me a solution or provide me a tutorial / reference that can help me out... (I tried OAF Developer Guide which is not elaborate enough for HGrids)
    thanks in advance,
    Hem

    Refer Dev guide -> Chapter 4 -> Hgrid
    --Prasanna                                                                                                                                                                                                               

  • Reg:Hgrid in advanced search results

    Dear team,
    Pls provide the implementation of Hgrid as search results for advanced search.
    When i am trying to implement the Hgrid region as search results for advanced search i am not getting the expandle nodes.
    Pls suggest
    Regards,
    Radha

    Intead of using query bean make ur on search page and show results in hgrid.
    --Mukul                                                                                                                                                                                       

  • Clear Hgrid Cache

    Hi All,
    Can anyone tell me how we can clear the cache of Hgrid?
    Thanks

    clear the state of the hGrid using OAHGridBean.clearCache and forwarding back to the same page to redisplay the hGrid region with the focus on the appropriate result.
    See jdev guide for more details.
    Also
    -- This is the detail from Javadoc :
    clearCache
    public void clearCache(OAPageContext pageContext)Clear HGrid's data cache.
    The HGrid bean caches the displayed data on the transaction. This method can be used to clear the HGrid's cache. This method should only be called from processFormRequest, after any use of the OAHGridQueriedRowEnumerator.
    clearServerCache
    public void clearServerCache(OAPageContext pageContext)Clear HGrid's server state cache.
    The HGrid bean caches the displayed data on the transaction. This method can be used to clear the HGrid's server state cache. This method should only be called from processFormRequest, after any use of the OAHGridQueriedRowEnumerator.
    clearClientCache
    public void clearClientCache(OAPageContext pageContext)Clear HGrid's client state cache.
    The HGrid bean caches the displayed data on the transaction and session. This method can be used to clear the HGrid's client state cache. This method applies only after the hGrid has been rendered and will typically be invoked only from processFormRequest (since processFormRequest is called only on post-back which occurs post-rendering). If this method is invoked from processRequest, it will practically be a no-op on the first invocation. Subsequent invocations (triggered by revisiting the page) will clear the cache from the previous rendering. Note that all use of the OAHGridQueriedRowEnumerator should precede calls to this method.
    So based on your requirement, you can select which one to use.
    Thanks
    Edited by: OAF-dev on Jun 14, 2010 10:43 AM

  • Wide report causes standard tabs in two-level-tabs to move

    I know that sounds odd. So, if you have a large (wide) report, that spans the browser window, and you resize the window, the tabs will move to the right, eventually right out of the window. Very odd.
    I have Apex 3.0.0.00.20. I have a simple report region with a query that has over 20 columns. The data isn't really meant to be read, there is a download to spreadsheet link that people will use. However, there is also a two-level tab system in place. Parent tabs at the top (on the right) look fine. The standard tabs, below are left aligned and look good on all pages except this one. If the window is wide, fitting the entire width of the report, then the tabs align on the left. That is very wide, filling up more than my widescreen monitor on my two-monitor setup. For users on a single smaller monitor, they cannot size it that large, and if the window is narrow enough, the tabs are actually off the screen. You have to scroll right to see them. It's the strangest thing. But, it's a pain, since they need to use these.
    Anyone see this? Any ideas how to prevent those tabs from moving and staying anchored on the left?
    Thanks

    Sounds like the result of a layout based on nested tables, which are expanding to accommodate the wide report content.
    Solution would be to move the standard tabs region or the report region to another region position, or change the page template so the tabs current region position is not contained within a table that also contains the table containing the report region position.
    This should all become clear if you view the page in Firefox and outline the tables using the Web Developer Toolbar...

  • How to remove region titles

    I'm using Theme 2. Blue and Tan and I am trying to use some standard HTML regions to create a printout of a receipt. What I'd really like is a blank region - no background color, no header/title. Is there a way to set up a template with this, since none of the existing templates seem to have these options for me?

    Duh. Just select No Template. (It's at the top of the list).

  • Currency format and Right Align not working for messagetext in HGrid

    Hi
    We are dynamically enabling MessageTextinput inside HGrid region, it is Number type and when we set readonly to True it become left align, and currency format also not working, I tried the below various options but nothing is working.
    Option : 1
    OAMessageTextInputBean attribute = (OAMessageTextInputBean)webBean.findChildRecursive("Attribute"+i);
    attribute.setCurrencyCode("USD");
    Option :2
    OAWebBean amountDueBean2 = webBean.findChildRecursive("Attribute"+i);
    oracle.cabo.ui.validate.Formatter formatter2 = new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
    amountDueBean2.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter2);
    etc options we tried
    amountDueBean2.setAttributeValue(CURRENCY_CODE,formatter2);
    amountDueBean2.setAttributeValue(OAWebBeanConstants.CURRENCY_CODE,"USD" );
    Please help on this issue.
    We are using Jdeveloper 10.1.3.3.0.3
    TiA
    Babu

    Anatoli,
    Hello!
    I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
    I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
    I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
    Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
    Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
    Thanks,
    Janel

Maybe you are looking for