selection of the first column of the clicked row data

All,

Ive a report with a custom template and I want to return / select the first value in the column of the clicked folder, how can I get this data by using javascript code in DA or jquery?

I did some research but couldn't do something similar.

Classic report

Apex 4.2

Scott,

I used the expression below, but it works only when the column ID/first appears, but if you set a column to not show IE uncheck the show of the column attribute, then it cannot read this value.

$(this.triggeringElement) .find ('td:first').text())

is there a way to always get that ID/first column when figure is not on the report?

concerning

Tags: Database

Similar Questions

  • last box gets automatically selected on the click of a button page

    Hello

    I tried many solutions - removal of the last box then recreate it again, but it's always the same problem.

    I have 2 messageRadioButtons:
    SupplierRB
    CustomerRB

    Both under SupplierCustomerRGP and of course has been set by the group name property element I also booted it in processRequest as follows:
    OAMessageRadioButtonBean SupplierRB = (OAMessageRadioButtonBean) webBean.findChildRecursive ("SupplierRB");
    SupplierRB.setName ("SupplierCustomerRGP");
    SupplierRB.setValue ("Supplier");
    OAMessageRadioButtonBean CustomerRB = (OAMessageRadioButtonBean) webBean.findChildRecursive ("CustomerRB");
    CustomerRB.setName ("SupplierCustomerRGP");
    CustomerRB.setValue ("Customer");
    However, when I try to choose the supplier (works great!) and then click on my button create (which has not not any code in there), the page will automatically have the selected customer radio button.

    It is to consume a lot of my time, when it must have been completed.

    Help, please.

    N

    Try to create two temporary variables in VO and attach it to your radio buttons and then check.

    Thank you
    AJ

  • Select all the check box in the grid

    Hello

    Creating dynamic multiple checkbox which are placed in a table format in the grid.

    (a) how to select the check box and clicking a button

    (b) how to find how many check box are selected at the click of a button

    Thanks in advance

    Hi Srinth,

    Have you tested the code... He works for you...?

    His perfectly straight work on my side...

    Thank you

    Jean Claude Chari

  • skin of the ADF, stationary of the table row

    Hello

    I'm having confussion with adf-stripping.
    I can effect hover so the user each time a row in a table in a hover, it will change the background color of the line?
    Should what class I use in my css?
    I tried with af | : the table-row data: highlighted, af | : data of the table-row: hover...

    If there is anyone who knows the link where I can download an adf-skin model then she also be very useful to me...

    Best regards.

    Hello

    I found this in the forum. It works for you?

    Re: Comment on the blog of Frank added effect hover at table

    AF | table: content TR:hover {background-color: InfoBackground ;}}
    AF | table: content TR:hover TD {background-color: transparent ;}}

    concerning
    Peter

  • Read the data in the first column selected in a multicolumn listbox

    When a line is selected in a ListBox multicolumn (1 point), how can I go on reading the data in the first column?

    The listbox multicolumn itself is the digital picture data type. If you have allowed only 1 point selection and selection mode select any row, it returns the line number. The property node 'Element names' to return a table 2d-chains of the elements in your Inbox. The index of the row to the value of the listbox and column 0. See code attached.

  • How it is possible to create the chekbox in interactive report column header and select all the features.

    Hello

    My requirement is

    Interactive report the first element of box check columns and the topic also point check box.

    If I click on the element of box section columns and then automatically select all the lines in the box.

    Select all / deselect all interactive report header check box.

    Kind regards

    Arianne.

    Check this box

    https://Apex.Oracle.com/pls/Apex/f?p=76604:2:111027941779152:

    username:-test

    password:-test

    SELECT

    APEX_ITEM. HIDDEN (2, null, null, 'f02_': rownum) |

    APEX_ITEM. CHECKBOX2 (P_IDX-ONLINE 01,

    P_VALUE-online null,

    P_ATTRIBUTES-online null,

    P_CHECKED_VALUES => NULL,

    P_CHECKED_VALUES_DELIMITER => ':',

    P_ITEM_ID-online 'f01_ ' | ROWNUM,

    P_ITEM_LABEL => ' label for f01_ #ROWNUM # ')

    as Delete1,.

    of the double

    Choose the column type: report

    in the heading of column delete1

    Simply put

  • Data selection in UDB where columns were named after the oracle data types

    I have a couple of tables in UDB, I'm trying to reference on a HS db link.

    The first table on the side of the UDB has a column named 'number' (bought the software - not something we did)...

    Selecting this SEO column in this table and more specifically (i.e. Select number, col2, col3 etc) causes the error ORA-00936 (missing expression).

    Select * works...

    The second table also has a column called 'number', so the same problem above applies.  [However, sql errors when I do a select * from ORA-00600: internal error code, arguments: [HO set: look long], [], [], [], [], [], [], [], [], [], []]

    Our dba lean on it, - Oracle HS is new to us, so - I was hoping someone here might have an idea...

    Using oracle 11.2.0.3.0.

    When your DB2 database has column with reserved words in Oracle names, you must create a view of your DB2 side by specifying a different name for this column, and then use DG4ODBC to choose from the scoreboard instead of DB2.

    Another approach which would require an additional programming is to use the DBMS_HS_PASSTHROUGH that allows to make statements that they are to the DB2 database without be analyzed in Oracle.

    As for the ORA-600 error that you get this error is caused when your DB2 table contains certain character inspired columns that exceed the accuracy of the Oracle and are then mapped to the Oracle long data types. Normally in Oracle each table can have a long column. But to be able to select with the gateways of databases foreign this restriction has been slightly improved and more recent Oracle software can choose from the tables that contain more then a long.

    So, could you please be more specific what program you use to select using the gateway fails with ORA-600 and could you please post your description of the table as it is stored in your DB2 database as seen using the gateway in SQL * more: desc (your DB2 table > @)

    -Klaus

  • after delete the classified, the cursor will move to the first column

    Hi all

    After that I selected the lov and click the clear button, it erases that filed and went to the 1st column, for that I clearly want the column & stay with this column only, how to put in shape?

    Thank you



    Hi, sorry for this, put the code is the "back" button. When you press the button Search, that he will go to the block of data you press back button to find the right block. So, can you please put GO_ITEM(:global.goitem); this code button at the rear of the block of data

  • I'm figuring (add) a column on a PDF form and on the calculation tab, it doesn't let me select (check) the fields I want to calucalate.  It won't let me type in the fields of the box either.

    I'm figuring the shape (add) a column (sum) on a pdf file and on the calculation tab, it won't let me select (check) the fields I want to use in the calculation.  It won't let me type fields in the box either.  I'm doing something wrong?

    the mouse click on the name of the field and press the space key

  • what filter first column by the oracle optimizer

    If anyone can help to understand what filter first column by the optimizer oracle by example below and why?

    Select * from emp where ENAME = 'FORD '.
    AND SAL = 3000;

    Hello

    Look at the MAP of the EXPLAIN command.

    All things being equal, if there is more distinct values of ename, Sal, then it's probably looking for "FORD" first.

    For example, the table has 100,000 rows and there are distinct 10 000 distinct enames and 100 sals, ename and sal are indexed, but there is no combined index.
    If you are looking for by sal firstly, this means that you wait about 1,000 lines of the search index, and then you have to test each of these 1,000 rows for the right ename.
    If you are looking for by ename, first of all, it means that you wait about 10 lines of the search index, and you will only test each of these 10 rows for the sal on the right.
    The order in which the terms were written will count.

    Published by: Frank Kulash, April 2, 2012 07:54

  • How remove the line by line by comparing to the first column?

    Hello!

    I have a problem - I need to remove the line by line, but the problem is, I know that the first COLUMN of the table is a PK.
    To retrieve the NAME of the COLUMN that I use:

    SELECT column_name, table_name FROM USER_TAB_COLUMNS WHERE column_id = 1 and table_name = c1.tmp_table_name;
    But it does not somehow.
    Below you can see my script (which has not worked for now):

    declare
    XXX varchar2 (100);
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    IMMEDIATE EXECUTION
    ' SELECT column_name in ' | xxx | "USER_TAB_COLUMNS WHERE column_id = 1 AND table_name = ' |" ' || C1.tmp_table_name | " ' ;
    immediate execution
    "start."
    for c2 in (select * from ' | c1.tmp_table_name | start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name | 'where ' | xxx |' = c2.' | xxx |'; exception: when other then null; end; end loop; end;';
    end loop;
    end;

    P.S. The Inserts work perfect. I have a problem with deleting lines that are in c1.table_name, of c1.tmp_table_name (the two tables have the same structure, PK, always), because I have the names of columns different another tables which are PK. (for example: K, ID, NS and so on) Please help me to write the correct script.
    For example this will be for the first line recovered as:
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    immediate execution
    «Start for c2 in (select * from ' |)» C1.tmp_table_name | Start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name: ' where K = c2. K; exception: when other then null; end; end loop; end;';
    end loop;
    end;
    This script works perfectly. But I have many other tables with different PK - K No.

    Solution with the logging of errors table

    -- create the error-logging table
    CREATE TABLE tbl_MergeErrors (
        Stamp       TIMESTAMP(3),
        TableName   VARCHAR2(30),
        KeyColumn   VARCHAR2(30),
        KeyValue    VARCHAR2(4000),
        ErrorCode   NUMBER(5),
        ErrorMsg    VARCHAR2(4000),
    
      CONSTRAINT pk_MergeErrors
          PRIMARY KEY (TableName, Stamp)
          USING INDEX
    )
    /
    
    -- procedure to insert errors
    CREATE OR REPLACE
    PROCEDURE LogMergeError (pTableName  IN VARCHAR2,
                             pKeyColumn  IN VARCHAR2,
                             pKeyValue   IN VARCHAR2)
    IS PRAGMA AUTONOMOUS_TRANSACTION;
    
        -- you couldn't insert SQLCODE or SQLERRM directly into a table (ORA-00984)
        nSQLCODE   NUMBER(5)      := SQLCODE;
        vcSQLERRM  VARCHAR2(4000) := SQLERRM;
    
    BEGIN
      INSERT INTO tbl_MergeErrors
             (Stamp, TableName, KeyColumn, KeyValue, ErrorCode, ErrorMsg)
          VALUES (SYSTIMESTAMP, RTrim( SubStr( pTableName, 1, 30)),
                  RTrim( SubStr( pKeyColumn, 1, 30)), SubStr( pKeyValue, 1, 4000),
                  nSQLCODE, vcSQLERRM);
      COMMIT WORK;
    
    -- if an error occured here, then just roll back the autonomous transaction
    EXCEPTION
      WHEN OTHERS THEN   ROLLBACK WORK;
    END LogMergeError;
    /
    
    -- create the tables and insert test-data
    CREATE TABLE TMP_TABLES (
        TABLE_NAME       VARCHAR2(200),
        TMP_TABLE_NAME   VARCHAR2(200),
      CONSTRAINT TMP_TABLES_X PRIMARY KEY (TABLE_NAME)
    )
    /
    CREATE TABLE TMP_KL002 (
        K   VARCHAR2(40),
        N   VARCHAR2(200)
    )
    /
    CREATE TABLE TMP_TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200)
    )
    /
    CREATE TABLE KL002 (
        K VARCHAR2(40),
        N VARCHAR2(200),
      CONSTRAINT PK_KL002 PRIMARY KEY (K)
    )
    /
    CREATE TABLE TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200),
      CONSTRAINT PK_TABLE1 PRIMARY KEY (NS)
    )
    / 
    
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('kl002','tmp_kl002');
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('table1','tmp_table1');
    INSERT INTO tmp_KL002 (K, N) VALUES ('00', 'none');
    INSERT INTO tmp_KL002 (K, N) VALUES ('07', 'exists');
    INSERT INTO tmp_KL002 (K, N) VALUES ('08', 'not assigned');
    INSERT INTO tmp_table1 (NS, N) VALUES ('2000', 'basic');
    INSERT INTO tmp_table1 (NS, N) VALUES ('3000', 'advanced');
    INSERT INTO tmp_table1 (NS, N) VALUES ('4000', 'custom');
    COMMIT WORK;
    
    -- to test, if it works correct when primary key values exists before
    INSERT INTO KL002 VALUES ('07', 'exists before');
    COMMIT WORK;
    
    -- check the data before execution
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- empty the error-logging table
    TRUNCATE TABLE tbl_MergeErrors DROP STORAGE; 
    
    -- a solution
    DECLARE
    
        PLSQL_BLOCK  CONSTANT VARCHAR2(256) := '
    BEGIN
      FOR rec IN (SELECT * FROM <0>) LOOP
        BEGIN
          INSERT INTO <1> VALUES rec;
          DELETE FROM <0> t WHERE (t.<2> = rec.<2>);
        EXCEPTION
          WHEN OTHERS THEN
              LogMergeError( ''<1>'', ''<2>'', rec.<2>);
        END;
      END LOOP;
    END;';
    
    BEGIN
      FOR tabcol IN (SELECT t.Tmp_Table_Name, t.Table_Name, c.Column_Name
                     FROM Tmp_Tables t,
                          User_Tab_Columns c
                     WHERE     (c.Table_Name = Upper( t.Tmp_Table_Name))
                           AND (c.Column_ID = 1)
                ) LOOP
        EXECUTE IMMEDIATE Replace( Replace( Replace( PLSQL_BLOCK,
                                   '<0>', tabcol.Tmp_Table_Name),
                                   '<1>', tabcol.Table_Name),
                                   '<2>', tabcol.Column_Name);
      END LOOP;
    END;
    / 
    
    -- check the data after execution ...
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- ... and also the error-logging table
    SELECT * FROM tbl_MergeErrors ORDER BY Stamp, TableName;
    
    -- of couse you must issue an COMMIT (the ROLLBACK is only for testing
    ROLLBACK WORK;
    
    -- drop the test-tables
    DROP TABLE TABLE1 PURGE;
    DROP TABLE KL002 PURGE;
    DROP TABLE TMP_TABLE1 PURGE;
    DROP TABLE TMP_KL002 PURGE;
    DROP TABLE TMP_TABLES PURGE;
    
    -- you shouldn't drop the error-logging table, but I use it to free up my db
    DROP TABLE tbl_MergeErrors PURGE;
    

    Greetings, Niels

  • All the columns after first column null/white

    Database: 10.2.0.1
    OS: Windows xp

    I need your help in the future. I have a table whose columns varchar2 20. Table looks something like this:
    -------------------------------------------------------------------------------------------------------------------------------------------------------------
    Col1                       Col2                       Col3                                  Col4                    Col5               Col6...Col20
    -------------------------------------------------------------------------------------------------------------------------------------------------------------
    In some operating systems, you can use a character in place of HOST such as "$" in Windows.                         On some platforms,
    SQL*Plus removes the       SQLTERMINATOR              (a semicolon by default)              before the HOST command                    A workaround for this     
    Power required (all columns after first null/white column for a given row)
    Output
    On some platforms,
    A workaround for this     
    I'm sorry, I'm not having the machine in this moment, which is why I'm not necessary validation create table and SAMPLES.

    I hope I'm clear in my question.

    Thank you.

    Hello

    Assuming that you know a few suibstring who never appears in the data, you can get all the columns after the first NULL like this:

    SELECT     REPLACE ( REGEXP_SUBSTR ( '/' || col1  ||
                                         '/' || col2  ||
                                         '/' || col3  ||
                          ...
                                         '/' || col20 ||
                           , '//.*'
                           )
               , '/'
    --           , ' '
               )
    FROM    table_x
    ;
    

    As indicated, this returns the concatenated text, without any delimiter.
    If you want the delimiter, omit to REPLACE them; Just use REGEXP_SUBSTR.
    If you want a delimiter which may appear in the text, then a comment the argument 3 to REPLACE.

  • How to count the first column automatically.

    Dear all.

    I would like to calculate the first column from 1 to N, when the user clicks on the add a line button.

    Please refer to the following

    -------------------------------------- Code --------------------------------------

    var nNodes is Test_Result1.sub_Product_accessories. Config_Acc.resolveNodes ("Config_Acc [*]"). Length;


    If (nNodes < = 6) {}
    Test_Result1.sub_Product_accessories. Config_Acc.instanceManager.addInstance ();
    }

    AS-IS

    count.JPG

    AS IT WILL BE

    count2.JPG

    Javascript code the Initialize event of the AccNum field:

    this.rawValue = this.parent.index + 1

  • checkbox in the first column of the reports

    Hi all
    I have a classic report where the first column is checkbox display.
    Instead of the box, can I have the radio button.
    If it is not possible,
    When a check box is selected, the others should not get selected.


    Please guide me to get it used.

    Thanks in advance
    Good bye
    Sonny_starck

    Hello Sonny_starck,

    Yes you can. Try this:

    SELECT APEX_ITEM.RADIOGROUP (1,deptno,'20',dname) dt, deptno, dname
    FROM   dept
    ORDER  BY 1
    

    Kind regards
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

  • Keynote can not select 'start the movie at the click.

    Hello

    I joined a clip on a slide, and it is read right after that I click to go to slide on the previous slide. I don't put any transition to the previous, current or next slide.

    When I click to go to the slide with integrated clip, I want to show the slide without playing the built-in clip, and then have the video game when I click once more. I can see the option "start a film when the click on" at the bottom of the Format / box of film in the Inspector, but it is grayed out so I can't select it.

    What can I do to fix this?

    Thank you

    Remove the slide containing the video, and then drag the video file directly on the browser panel to replace again.

    If it does not, add the video file to a new presentation, and then add the rest of the original.

Maybe you are looking for

  • Portégé A600-122: Wireless Manager 5: no Modem Mobile Broadband

    I use the Vodafone SIM card in the slot mobile modem of my Portege A600-122. Wireless Manager 5 can't find the modem. Status message: no Modem Mobile broadband. Using Version 5.2.1047.46 driver 5.0.1047.15 with Prof. XP SP3. Any ideas what could be t

  • I have a problem with my password for my MSN account.

    I'm having a problem with my password for Windows Live.  It does not recognize the sensitive passwords case.  I asked cela before and you refered me to Windows Live.  And I give them credit.  They tried several times to fix my problem and failed.  Th

  • 8 GB of RAM upgrade for ES1-311-C9XM recognized as 2 GB

    I bought a laptop Acer Aspire ES1-311-C9XM earlier. Only, it came with 2 GB of RAM so I decided to upgrade the RAM. After doing some research on the net, I discovered that it could be upgraded up to 8 GB of RAM. The RAM module that it was originally

  • Need help with Windows Defender

    My first time using Vista on a computer. I would use MS security essentials, but it is said to remove the other safety first. Do I need to uninstall Windows defender? If so, how. It does not appear on my list of program anywhere. Thanks for any help.

  • Dell U2415 black points

    Hello I have Dell U2415 and I noticed two black dots. Pixels themselves are not dead, but it seems that the edges between the pixels are damaged. More images: http://imgur.com/a/lDTDT