Link column in a datagrid

Hi Dear;
how can i create an A/R invoice link buttuon as column in as datagrid?
regards;

Hi
it has been already discussed
anyway Use this code
dim oLink as SAPbouiCOM.EditTextColumn
oLink=oGrid.Columns.Item(0)
oLink.LinkedObjectType = "13" 'please check object type for Ar invoice
Hope it helps you
Regards
Vishnu

Similar Messages

  • Formatting a column in a datagrid

    If I want to format some data in a column of a datagrid is
    there a preferred way of doing that? I have used both an
    itemRenderer and a labelFunction
    Is there a preference to one or the other?

    lableFunction can be used when the tweaking required is very
    trivial and you want to modify some text getting displayed.
    (custom) itemRenderers can be used when we want to display
    something complex within a cell like few controls, icons, labels,
    links etc.

  • Interactive report run pl/sql by clicking on link column

    Hi!
    How can I run pl/sql script by clicking on a link column of an interactive report?
    Andras

    EDIT : Oh sorry don't saw the date, I'm a little late...
    Hi,
    if you want a link for each row, an other solution is to include the link column in your query, which would be more customizable, ie :
    select
    COLUMN1,
    COLUMN2,     
    '<ahref="f?p=&APP_ID.:6:&APP_SESSION.::NO::" onclick="your_function('||YOUR_ID_COLUMN||');return false;">link or picture</a>' as "link",
    COLUMN3;
    from
    ...As you see, you will have to include the ID (primary key) column to your report ("hidden") to identify the row clicked when calling your function.
    If you want to use the Link Column property in the report attributes, you will have to call you js function in the "URL" field like that :
    javascript:your_function('#YOUR_ID_COLUMN#');
    Yann.
    Edited by: Yann39 on 17 sept. 2010 02:41

  • Add a Link Column in WAD Report

    Dear All.
    my requirement is to show the link column as a first or last column of the table, user want that if he click the link the outlook should open with the email taking from the vendor.
    All i want to add a new column and place the following (<mailto:vendorattribute?subject=xyz>).
    Can you please let me know how can i achive this in WAD application through Java script or any other way how can i read the value of vendor attribute.
    any help will be highly appreciatable.

    Gurus,
    Any advice?

  • How to create a dynamic action from link column in classic report

    I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
    I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
    for jquery selector. Would appreciate any help or direction???

    Thank you for your response. I am very new to Jquery so don't understand all that well.
    What I did:
    I created a dynamic action
    Event: Click
    Selection Type: jQuery Selector
    jQuery Selector: tdheaders
    Created True Actions
    I created an alert to see if this is being executed.
    Alert 'I made it here'
    What I have:
    I created a report region with the following query:
    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    I created 'SELECT' column as Link Column
    Report Attributes
    Link Text Select
    Target Page in this Application
    Page 2
    Region Header
    <div id="ModalForm2" title="Employee List" style="display:none">
    Region Footer
    </div>
    This report is displayed in a modal form when a button is clicked.
    Code for modal window in Page Header
    <script type="text/javascript">
    $( function() {
    $('#ModalForm2').dialog(
    { modal : true ,
    autoOpen : false ,
    buttons : {
    Cancel : function() {
    closeForm2();
    function openForm2()
    $('#ModalForm2').dialog('open');
    function closeForm2()
    $('#ModalForm2 input[type="text"]').val('');
    $('#ModalForm2').dialog('close');
    </script>
    I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
    back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
    If I let the submit to happen, all other entered fields are cleared on my main form.
    Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form.

  • Interactive report conditional display of link column - apex 4

    I create an interactive report
    select object_id,
           object_name,
           case
            when mod(rownum, 2) = 0
            then 'block'
            else 'none'
           end  display_link
    from user_objects
    where rownum <= 10in the Link Column for the report I selected one of the edit icons and put the following in the link attributes
    style="display:#DISPLAY_LINK#"I also edited the object_id and set the Column Link and selected an edit icon and put the same style in the link attributes.
    The link under the column displays correctly but the link for the report does not seem to substitute the #DISPLAY_LINK# from the report. Any Ideas?

    Here's how I've done this:
    SELECT ORG_ID,
           CLEARER_NAME,
           LEGAL_NAME,
           MARGINING_ACCOUNT,
           RULE_GROUP_DESCR,
           VIOLATION_COLOR,
           VIOLATION_LEVEL,
           CASE MARGIN_IND
            WHEN 'Y' THEN '&nbsp'
            ELSE '<a href="#" title="Ignore This Alert"><img src="/i/ice/images/hide.png" alt="Ignore"></a>'
           END AS IGNORE_LINK,
           ....This takes care of either showing (or not showing) the link.
    IN order to process when it is present, not that the address is "#" This will cause your cursor to change to a hand (or whatever your pointer is) when the mouse floats over the link. The actual transfer to the next page, I handle with jQuery/JavaScript.
    Create a Dynamic Action.
    Event: Click
    Selector Type: jQuery Selector
    jQuery Selector: 'aalt'
    Event Scope: Live
    (note that the jQuery Selector is finding the alt attribute that I set on my link in the SELECT above . Tweak as needed.
    This "Action" for this DA will be to "execute JavaScript code"
    Normally, I would set some values into Page Items and then create a branch to pass this values to the next page. I am doing the same thing in the following code. I am getting the values off of the row wherein the user clicked on the link. I am setting these values from the row into the page item values. Then, I am submitting the page. All the "htmldb_Get" business is just stuff that I have to do to get the page item values into the session (so that I can pass them to the next page).
    var clickedRow = this.triggeringElement.parentNode.parentNode.parentNode;
    var ruleGroupDescr = $(clickedRow).children('td[headers="RULE_GROUP_DESCR"]').html();
    var ajaxRequest = new htmldb_Get(null, $x('pFlowId').value, null, 0); 
    gReturn = ajaxRequest.get();
    $s('P31_RULE_GROUP_DESCR', ruleGroupDescr );
    ajaxRequest = null; 
    var clearerName = $(clickedRow).children('td[headers="CLEARER_NAME"]').html();
    var ajaxRequest = new htmldb_Get(null, $x('pFlowId').value, null, 0); 
    gReturn = ajaxRequest.get();
    $s('P31_CLEARER_NAME', clearerName );
    ajaxRequest = null; 
    apex.submit("IGNORE");Finally, just create a branch to the next page and set the items on the next page to the ones on this page that are being set in the above script. Note that in my example, I have set the request to "Ignore" when I submitted; so, I set the condition of my branch to be Request = IGNORE.
    Hope this helps,
    -Joe

  • Issue Action links,Column sorting in OBIEE(11g) 11.1.1.7.0

    Hello everyone,
    I want to provide the feature column sorting to my users but i dont want to provide any feature to users when they click on right mouse button.When we click on right mouse in action link column value it is giving the "action links","include/exclude columns" options etc.
    I disabled the do not display the action link report name in the column properties.
    Also disable the  include/exclude columns options in the interaction XYZ properties of the view.
    But still i am not able to understand why these links are coming when i run the report from the dashboard.
    Please help me out here.
    thanks,
    prassu

    Hi Timo,
    I am using data control web services to get these attributes on to the jspx page. The table has the value property which is binding to the iterator( #{bindings.SUMMARY_LINES_ITEM.collectionModel}).
    The table has various coulmns like order no, status, request and so on..where Order no and status are converted to a cmd link which navigates to another page on a query.
    I don't understand how setting sorting to true in one of the columns can make it not found in the iterator! And I get the errors only if sorting is done first before querying(clicking on one of the values in a column to navigate to another page).
    Thanks,
    Sue

  • How to send single id value in apex url on clik of link column in report

    Hi,
    Im using the following code to generate a report, in which BP_NAME is a link coloumn ,So I want to send the id(best_attachment table column ie bpa_id) to the next page(6) when I click on the link.If I hoover my mouse on the link it is showing the url like
    ..../f?p=114:31:5954054962330632:REQ:NO:P6_BP_ID:6,12,14(for the record 30 and if it is a two name it will pass two id)
    But i need to pass only one id on click of a link ,but in the url it showing three id.
    ===code====
    select bp_id,
    (select LISTAGG(BP_NAME, ';') WITHIN GROUP (order by BP_NAME) from best_attachment bpa where bpa.bpa_bp_id = bp.bp_id ) BP_NAME
    from best_practices bp
    ===========
    Ex
         Link column<br>
    10 Whalen
    20 Hartstein
    30 Raphaely;
         Khoo;
         Tobias;
    40 Mavris
    If I click any name on 30 record that is Raphaely, Khoo,Tobias It is showing the three id in the url and passing the same. Pls tell me how to pass single id(bpa_id) on clik of a link.And how to alter the above code to achive the same.
    Regards
    Balaji

    No One :(

  • Link column from an interactive report to insert a row in a tabular form

    Hi, I need your help, i'm new on APEX and i really need to make a "link column" from an "interactive report" to insert a row into a "tabular form".
    I mean that when you click the "link column" instantly create a new row in the Tabular form with the information of the linked row on the interactive report. Its something like that.
    I really appreciate your help.
    Ricardo Capuz

    Hi Ricardo,
    You can use the following code as per your requirement (this is just an example),
    (In this case IR report is in Page#1 and Tabular form is in Page#2),
    On Page#1, Create a hidden item (i.e 'P1_ID')
    IR Report query as like the below,
    select empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno,
    empno "copy"
    from empUse the below JS code in Page HTML Header section,
    function f_insert_row(pSub)
        $s('P1_ID',pSub);
        doSubmit('ADD');
    Edit  Report Attribute -> copy column -> Under Column Link
    Link Text: Select your column name (i.e. #EMPNO#)
    Target: URL
    URL: javascript:f_insert_row(#EMPNO#);
    Then create a process to insert like below,
    BEGIN
    insert into emp_test (select * from emp where empno=:P1_ID);
    END;Process condition as * Request=Expression1* in Expression1 as 'ADD'.
    At last, create a branch to Page#2, Check 'include process success message' and with the same condition as * Request=Expression1* in Expression1 as 'ADD'.
    Thanks,
    Lakshmi

  • Instead of using image in a link column can we have button with name?

    Hi,
    In Apex , in report region instead of using image in a link column can we have button with name?
    Thanks,
    Anoo..

    From your wording, it sounds like you used the built-in column link within APEX. You will need to edit your column and remove that so that the column is only containing the definition that is coming from the query (you can also just change the alias used for the column and then the old column with the link will be removed and the new alias will be added against your new button column).
    -- Sharon

  • Interactive Report Link Column HELP FROM GURUS requested

    Hi,
    I have an interactive report the data of which returns a file name for an image. I would like to use the Link Column (Link to Custom Target) option. The column in my underlying query has the image file name #ILINK#.
    The Target URL is correctly formed using the #ILINK# bind variable http://myserver.mycompany.com/cgi-bin/oracle/img.cgi?img_file=#ILINK#;size=full
    However, for the Link Icon (which I wanted to be a dynamic thumbnail of the linked image). The #ILINK# bind variable is not read. Is this because the Link Icon cannot be dynamically determined and must always be the same image?
    I can get this working as a regular report using HTML expression, but I really wanted to harness the power of an interactive report.
    Thanks

    Hi,
    in this case you could build the required html-tags in your SELECT statement, like this:
    SELECT EMPNO
         , ENAME
         , '<a href="blablabla/index"><img src="'||ENAME||'.gif">'||ENAME||'</a>' AS ENAME_LINK
      FROM EMP
    ;brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • Interactive Report : Conditional Link Column

    Hi,
    I want my interactive report Link Column (Link to single row view) will be visible/active only when for the logged in current user.
    I am keeping the current user data in an "application_item".
    When ever I am trying to put Condition type as "Value of Iten in Expression1 = Expression 2" with
    Expression1 = CURR_USER (application item) and
    Expression2 = First_user (user_Name)
    the link column becomes invisible for the entire report.
    Please Please Please help.
    Thanks
    Neetu

    Hi,
    See if condition type "User is Authenticated (not public)" is what you looking for.
    Br,Jari

  • Link column in report

    Hello,
    How can I create a link column in a report region (not in an interactive report region).
    Link Column configuration section is not available for a report region.
    APEX version: 4.0.1.00.03
    Thanks.

    Dave,
    Do you not see a section labeled
    "Column Link"
    when you drill down on a particular report column??? I see this section for both Interactive and Classic reports.
    -Joe

  • Apex 4.2: changing link column from ROWID to ID

    Hello
    I have a report linked to a form. The link column is currently ROWID and I want to change it to the Primary Key of the DB table, which is called ID.
    I have done this before on a previous report/form where that ID was a display column and it works fine. Now I'm trying to copy what I did, which is this:
    On the report page, go to Interactive Report attributes, scroll down to Link Column, and for Item 1, change the Name and Value.
    The problem is that Name does not list P52_ID. If I type it in, it throws an error when I run the page.
    I think I added ID, which is also a Display column, later on, so I wonder whether Apex has a refresh issue and can't "see" P52_ID.
    Does anyone know how I refresh my list, or whether in fact something else is causing this?
    Thanks
    Emma

    >
    It's not very clear from this what you're trying to do/have done. (Creating examples on apex.oracle.com is a good way to avoid misunderstandings in conveying the nature of your problems.)
    I have a report linked to a form.Which page contains the report and which the form?
    The link column is currently ROWID and I want to change it to the Primary Key of the DB table, which is called ID."Link Column" refers to the Link Column section in the IR attributes, rather than the Column Link section of the ID column attributes?
    I have done this before on a previous report/form where that ID was a display column and it works fine. Now I'm trying to copy what I did, which is this:
    On the report page, go to Interactive Report attributes, scroll down to Link Column, and for Item 1, change the Name and Value.
    The problem is that Name does not list P52_ID. If I type it in, it throws an error when I run the page.What is the error?
    What are the values of the Link Column, Target and Page properties?
    Is P52_ID an item on the target page?
    What are the Source: Automatic Row Processing (DML) properties of the ARF process on the form page?
    I think I added ID, which is also a Display column, later on, so I wonder whether Apex has a refresh issue and can't "see" P52_ID. Added ID where? To the table? The IR query? The form page?

  • Highlight a Link column

    Hi,
    I m using Oracle 11g and Apex version 4.0.2.
    In report, Is it possible to highlight the link column when it is clicked ?
    I have tired , but when I click its highlighting, but until user clicks the next linked column it should be highlighted.
    Is it possible?
    Thanks,
    vk.

    Hi,
    thanks for the reply.
    But my requirement is bit different. I need to highlight the first report column, which is linked to same page with different report(say second report) and the clicked linked field of first report column should be highlighted until user clicks another linked column of first report.
    I m using standard theme 'Sand'.
    Regards,
    vk.

Maybe you are looking for