How to perform clickable event on Table view

hi!
      I am using tableview element to display my content.
Now i want to perform clickable event on row so that on clicking particular row i can show the details of that particular row in  other view.
Regards
Parth

Hi Abhijit,
regarding #2, i am facing a strange problem. If more than one row is selected, the <valuenode>.isMultiSelcted(index) returns true only for the lead selected row. For the other selected rows it return false. Would you know how to get rid of this.
Note that the problem is there only in case if i try to do this in the onLeadselect method. It works fine if i do this in a method which is called on click of a button !!!
In my case, i have a requirement wherein i need to find out which are the selected rows on click of any row in the table.

Similar Messages

  • How to implement "SelectAll" function in table view?

    hi, experts
    i want to implement "SelectAll" function in table view, just like the SelectAll function in ALV,how to do?
    and, can table view has it's tool bar ,may be on top of it.
    pls help and thanks a lot!!

    Search this forum. You will find plenty of threads on the same...
    Raja

  • How can we impliment event pooling table in 11g

    how can we use event pooling table in obiee11g for the cache seeding .could you please share knowledge.
    Regards
    bethamsetty

    Hi,
    Refer-
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10541/querycaching.htm
    see 7.8 section
    http://obieehome.blogspot.in/2012/07/event-polling-in-obiee-11g.html
    Hope this helped/ answered
    Regards
    MuRam

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • How to make the Pager for table view as non editable?

    Hi,
    I am using an HTMLB pager for my table view .
    It appears as Page '1' of 2 for examle.
    But '1' is dispalyed in an input field.
    How do I make this input field as disabled.
    I just want to use the Vertical and horizontal indicators to traverse through the pages of the table view.
    I do not want the user to enter the page number ..
    Thanks,
    Sachin

    Look at SBSPEXT_XHTMLB sample, pages pager.bsp and pagerX.bsp.
    If you use the external pager, then you can specify a format where a text string will only be displayed without an inputfield for editing.

  • How to populate string array in table view.

    Hi,
    By using webservice i am able to get an array of strings but, I am unable to populate those values in the tableview.
    Can any one please suggest me how to populate array of strings in table view with an example.
    Thanks,
    SRI.

    Search this forum. You will find plenty of threads on the same...
    Raja

  • How to customize SORT event in the View Form ?

    I'm using Jdevelper 9.0.3 with BC4J+UIXML, and I need customize the View Object Query, including "bind variables" as:
    SELECT A.COD_CLIENTE,
    A.NUM_TESTE,
    A.NOM_TESTE
    FROM TESTE A
    WHERE A.COD_CLIENTE = :1
    I create the java class for prepare assign values to View Object as:
    //Nome da Package da Tela Detail
    package br.com.siadem.siaed.ed00010;
    // Importa as Bibliotecas necessárias
    import oracle.jbo.ViewObject;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.event.PageEvent;
    import oracle.cabo.servlet.event.EventResult;
    import oracle.cabo.data.jbo.servlet.bind.*;
    import oracle.cabo.ui.data.BoundValue;
    import oracle.cabo.ui.data.DataBoundValue;
    import br.com.siadem.siaed.util.*;
    public class FunPreQuery
    public static EventResult FunConfiguraQuery(BajaContext context, Page page, PageEvent event) throws Throwable
    TrataDadosSessao varDadosSessao = new TrataDadosSessao();
    // Configura os Parametros
    String valor1 = varDadosSessao.getCodCliente();
    // Cria o objeto ViewObject para a difinição dos parametro na Query
    ViewObject view = ServletBindingUtils.getViewObject(context);
    // Configura os parametros na query do ViewObject
    view.setWhereClauseParam(0,valor1);
    // Executa a Query
    view.executeQuery();
    // Retorna o Resultado para a Página
    return new EventResult(page);
    This works very well customizing the "Search" event in the View form as:
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="TesteView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="TesteView1" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <method class="br.com.siadem.siaed.ed00010.FunPreQuery"
    method="FunConfiguraQuery"/>
    <!--<bc4j:executeQuery/>-->
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    I'm use the sortable columns with <bc4j:sortablecolumn> as:
    <bc4j:column attrName="NomTeste">
    <columnHeader>
    <bc4j:sortableHeader/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    But, the "Sort" event does not enable a manual control for call Java Class. When user click in any sortable column, occur the follow error:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT A.COD_CLIENTE, A.NUM_TESTE, A.NOM_TESTE FROM TESTE A WHERE a.cod_cliente = :1 ORDER BY A.NUM_TESTE ASC
    Anybody know to implement this functionality ?

    Ok, the solution:
    Sort BC4J table with reduced view objects

  • How to Query E-Business Tax tables/views

    I run SQL queries on the following tables:
    ZX_TRANSACTION
    ZX_TRANSACTION_LINES
    but it returns no rows. How to query ZX tables/views?
    My main purpose is to retrieve tax code which is in 12i no longer available in AP Transaction Distributions table/view.
    Please advise.
    Thanks in advance.

    Hi Srini,
    I followed PL/SQL procedure stated in note 415860.1. But still can't do the query. See below.
    SQL> begin
    2 fnd_global.apps_initialize(1079,51569,235);
    3 mo_global.init('ZX');
    4 end;
    5 /
    PL/SQL procedure successfully completed.
    SQL> select count(*) from ZX_TRANSACTION
    2 /
    COUNT(*)
    0
    SQL> select count(*) from ZX_TRANSACTION_LINES
    2 /
    COUNT(*)
    0
    Thanks,
    Corry

  • How to differentiate ddic objects like table,view,structure,...etc?

    Hi,
    Experts,
    How to identify uniquely ddic objects like table,view,structure,...etc?
    Thank u,
    Shabeer Ahmed.

    Hi...
    Check the table field DD02L-TABCLASS.  .
    Here you get know about the ddic objects type

  • How to split header text in table view to 2 lines?

    Hello,
    I have a table view that has many fields. There are fields with long header text.
    Is it possible to split the text and have it on 2 lines?
    Foe exsamle: instead of 'ORDER NUMBER'  --->  ORDER
                                                                                 NUMBER
    Thanks,
    Sara

    Hello Sara,
    You can do that using line feed.
    Implement the following code.
    data: lv_constant type string value 'CRM ORDER'.
    data: lv_constant1 type string.
    data: lv_constant1 type string.
    split lv_constant at ' ' into lv_constant1 lv_constant2.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    lv_linefeed = CL_ABAP_CHAR_UTILITIES=>CR_LF.
    clear lv_constant.
    concatenate lv_constant1 lv_linefeed lv_constant2 into lv_constant.
    I hope this works.
    Thanks
    Vishal

  • How to set the font for table view contol

    Dear All,
    My requirement is to set Font type = Arial and size=1 for
    Table View control. The same font should be for  header, Rows and footer.
    One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
    Is there any simple way to fix font fot the entire TableView.
    Thanks
    Markandeya

    An approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page.  It's a bit of a hack, but it did the job.  You will need to find ALL the styles used in a table view, and override the font size.
    <%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
    <style>
    <!--
    .sapTbvCellStd {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    .sapTbvCellAlt {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    //-->
    </style>

  • How to clear entries from a table view

    Hi All,
      I am using a tableview in a BSP page. I am setting the attribute allrowseditable = 'TRUE'. The internal table I am using for the tableview contains only initial lines. Once the tableview is displayed i am entering some values on the cells. But even after triggering the DO_REQUEST the values i entered in the tableview remains, its not getting cleared eventhough my internal table contains only initial lines. I am not getting back the values from tableview in HANDLE_DATA or EVENT. Can anyone tell me why the cells in tableview is retaining the values. How can i overcome this.
    Thanks,
    regards
    Vishnu Aravind

    Hi Sebastian,
      The following is the code of my view
    <%@page language="abap"%>
    <%@ extension name="bsp" prefix="bsp" %>
    <%@ extension name="htmlb" prefix="htmlb" %>
    <%@ extension name="xhtmlb" prefix="xhtmlb" %>
    <%@ extension name="PlmHelp" prefix="plmhelp" %>
    <htmlb:gridLayout columnSize="1"
                      rowSize="2"
                      cellSpacing="10">
    <htmlb:gridLayoutCell rowIndex="1"
                          columnIndex="1">
    <htmlb:tableView
                        id                     = "attribute1"
                        allRowsEditable        = "X"
                        table                  = "<%= controller->tbl_attributes %>"/>
    </htmlb:gridLayoutCell>
    </htmlb:gridLayout>

  • How to call dynamically TablerowCount using Table view

    Please help me urgent

    I have one abc.htm view
    ==================
    <htmlb:group>
            <htmlb:groupBody>
             <htmlb:tableView
                                                id = "tv1"
                                                columnHeaderVisible = "TRUE"
                                                design = "alternating"
                                                fillUpEmptyRows = "TRUE"
                                                footerVisible = "TRUE"
                                                headerVisible = "TRUE"
                                                table = "<%= t_maintain %>"
                                                iterator = "<%= iterator %>"
                                                visibleRowCount = "<%=model->G_NO_SIMILARSUBNO%>"
                                                width = "100%"
                                                selectionMode="singleSelect"
                                                filterButtonText = "Go"
                                                filterButtonTooltip = "Filter content"
                                                tableLayout = "AUTO"
                                              />
    In this view i want to call   visibleRowCount = "12".. User is going to give this rowcount dynamically through his page textbox.. How can i do this ?How can i paas the counting variable here..

  • How improve performance on access path TABLE ACCESS BY INDEX ROWID ?

    I have table MOVEMENT with about 26millions entries,
    select rowid from movement xxx
    where
    xxx.sTransType > 0
    AND xxx.sDevice < 1000
    AND xxx.sDevice >= 0
    AND (bitand(xxx.sSaleFlag,1) = 0 AND bitand(xxx.sSaleFlag,4) = 0)
    AND xxx.sArtClassRef < 100
    and xxx.tActionTime BETWEEN TO_DATE('13-05-2011 08:08:34', 'dd-mm-yyyy hh24:mi:ss') AND to_date('13-05-2011 14:08:34', 'dd-mm-yyyy hh24:mi:ss') ;
    PLAN_TABLE_OUTPUT
    Plan hash value: 679628763
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 34 | 10102 (1)| 00:02:02 |
    |* 1 | TABLE ACCESS BY INDEX ROWID| MOVEMENT | 1 | 34 | 10102 (1)| 00:02:02 |
    |* 2 | INDEX RANGE SCAN | MOVATIME_IX | 18489 | | 51 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter("XXX"."SARTCLASSREF"<100 AND BITAND("XXX"."SSALEFLAG",1)=0 AND
    BITAND("XXX"."SSALEFLAG",4)=0 AND "XXX"."STRANSTYPE">0 AND "XXX"."SDEVICE"<1000
    AND "XXX"."SDEVICE">=0)
    2 - access("XXX"."TACTIONTIME">=TO_DATE('2011-05-13 08:08:34', 'yyyy-mm-dd
    hh24:mi:ss') AND "XXX"."TACTIONTIME"<=TO_DATE('2011-05-13 14:08:34', 'yyyy-mm-dd
    hh24:mi:ss'))
    there is index on tActionTime - MOVATIME_IX
    This query returns 12203 rows, so I would anticipate this number in plan table in row with id 1 and column Rows
    Final question if it is possible to optimize this query and what are the next steps to do it?
    Thanks.

    >
    I thought that access path via ROWID's is the fastest way to get row
    >
    It is the fastest way to get the row - FROM THE TABLE.
    But the ROWIDs have to be gotten from the index. That is what the INDEX RANGE SCAN is doing. It is getting the ROWIDs needed and then the TABLE ACCESS BY INDEX ROWID is getting the rows.
    >
    I'am still confused with COST values, TABLE ACCESS BY INDEX ROWID has 200times higher cost than INDEX RANGE SCAN,
    >
    The index entries for a range scan are in order so they are very compact. The actual rows might be all over the place.
    Have you ever you a library? Not the online ones - I mean the old-fashioned kind that actually has books printed on paper?
    If the librarian asks you, her helper, to go get all books whose title begins with the letter 'B' how would you do it?
    You could go back to the stacks and look at every book on every shelf for books with titles' starting with 'B'. That is the same as a FULL TABLE SCAN.
    Or you could go to the card catalog, pull out the drawer (or drawers) that has 'B' on the label and look at the information on the card. Part of that information is the location of the actual book: section, stack; that is similar to the ROWID.
    The card catalog might get you to the right stack of books; then you have to search the stack sequentially to look for the book by name.
    A ROWID will get Oracle to the right block but then it has to find the right row.
    So the cost of getting ROWIDs from an index using a RANGE SCAN (where values are scanned in order) is a lot cheaper than actually getting the rows. The first two index entries needed might be right next to each other in order but the rows themselves might be far apart on the disk.

  • How to perform 'block selection' in table control?

    Hi,
    I'm looking for an easy way to implement block selection in a table control (i.e. select one line, hit 'block select' button, select a second line, hit 'block select' button again, and all lines between first and last are selected).
    I'm currently with a customer who is on 4.0b, so I can't use the wizard, it didn't exist back then.
    I hope someone knows
    regards,
    rs

    Rob,
    I generated a quick screen with wizard doing the multiple select.  This is the code chucks it generated
    in _TOP  first part is my definition of the table to be displayed and the one column on it.
    TABLES:   zsd_act_salespr.
    DATA:
      BEGIN OF wk_rec.
            INCLUDE STRUCTURE zsd_act_salespr.
    DATA:
        sel    TYPE c,
      END OF wk_rec,
      it_wk   LIKE STANDARD TABLE OF wk_rec.
       controls: TBLCLT_MAIN type tableview using screen 0100.   " Table Control on screen
    in I01
    *&spwizard: input modul for tc 'TBLCLT_MAIN'. do not change this line!
    *&spwizard: mark table
    module TBLCLT_MAIN_mark input.
      data: g_TBLCLT_MAIN_wa2 like line of IT_WK.
      if TBLCLT_MAIN-line_sel_mode = 1.
         loop at IT_WK into g_TBLCLT_MAIN_wa2
           where SEL = 'X'.
           g_TBLCLT_MAIN_wa2-SEL = ''.
           modify IT_WK
             from g_TBLCLT_MAIN_wa2
             transporting SEL.
         endloop.
      endif.
      modify IT_WK
        from WK_REC
        index TBLCLT_MAIN-current_line
        transporting SEL.
    endmodule.
    in the screen workflow
    PROCESS BEFORE OUTPUT.
    *&spwizard: pbo flow logic for tablecontrol 'TBLCLT_MAIN'
      module TBLCLT_MAIN_change_tc_attr.
    *&spwizard: module TBLCLT_MAIN_change_col_attr.
      loop at   IT_WK
           into WK_REC
           with control TBLCLT_MAIN
           cursor TBLCLT_MAIN-current_line.
    *&spwizard:   module TBLCLT_MAIN_change_field_attr
      endloop.
    PROCESS AFTER INPUT.
    *&spwizard: pai flow logic for tablecontrol 'TBLCLT_MAIN'
      loop at IT_WK.
        chain.
          field WK_REC-SPNUM.
        endchain.
        field WK_REC-SEL
          module TBLCLT_MAIN_mark on request.
      endloop.
    *&spwizard: module TBLCLT_MAIN_change_tc_attr.
    *&spwizard: module TBLCLT_MAIN_change_col_attr.
    in the O01
    *&spwizard: output module for tc 'TBLCLT_MAIN'. do not change this line!
    *&spwizard: update lines for equivalent scrollbar
    module TBLCLT_MAIN_change_tc_attr output.
      describe table IT_WK lines TBLCLT_MAIN-lines.
    endmodule.
    in the F01 nothing
    Edited by: Paul Chapman on Apr 24, 2008 4:56 PM

Maybe you are looking for