How to set scrollPolicy in table

In the documentation in appendix D in the developers guide [http://docs.oracle.com/cd/E35521_01/web.111230/e16181/ap_tablet.htm#BABCEBJJ] which says :
Table
By default, when rendered on tablet devices, tables display a footer that allows the user to jump to specific pages of rows. For all tables to display on a tablet device, you should:
Place the table components within a flowing container (that is, a component that does not stretch its children).
Set the autoHeightRows attribute to 0.
Set the scrollPolicy attribute to auto (if the page may also run on a desktop device) or page (if the page will only run on a tablet).
How to set scrollPolicy? I can use this pagination in desktop device?
If anyone has gotten this feature to work, an example would be much appreciated.
Thanks

No, you can't use this for pagination on a desktop device.
Check out http://andrejusb.blogspot.de/2011/05/oracle-adf-11g-custom-table-pagination.html
Timo

Similar Messages

  • How to set optional for table structure in functiona module

    hi experts,
    as i have small doubt regarding
    while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure ....
    reagrds prabhanjan

    Ignoring the TABLES/CHANGING/EXPORTING argument...
    while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure
    Why not?  There's no issue with marking a TABLES interface parameter with 'Optional' and publishing the function module or function group as a web service...

  • How to set the column table so it can not be moved !

    how to set the column table so it can not be moved !

    m_table.getTableHeader().setReorderingAllowed(false);
    m_table.getTableHeader().setResizingAllowed(false);

  • How to set colors to table control?

    Hi all,
    can we set colors to tables columns and rows?? How can we acieve this? Any help please
    Thanks,
    Madhan.

    Hi All
    thanks for your replies..
    data tab type IF_main_view=>Elements_segment.
      data line type IF_main_view=>Element_segment.
      data node_info type ref to if_wd_context_node_info.
      data attribute_info type wdr_context_attribute_info.
      data attr_value type WDR_CONTEXT_ATTR_VALUE.
      data wd_standard_cell type ref to cl_wd_table_standard_cell.
      data component like line of cl_abap_structdescr=>components.
      data wd_table_column type ref to cl_wd_table_column.
      node_info = lo_nd_segment->get_node_info( ).
      attribute_info = node_info->get_attribute( 'CELL_DESIGN' ).
    if component-name = 'SEGMENT'.
      wd_standard_cell->set_cell_design( CL_WD_ABSTR_MASTER_TABLE_COL=>E_CELL_DESIGN-BADVALUE_MEDIUM ).
    endif.
    i am trying to set color for  some colomns, but i am not getting any colors??? anything wrong in this.. please help
    thanks,
    Madhan.

  • How to set index to tables?

    Hi,
    My database is having more than 50000 tables, I would like to set index to all my tables, please suggest me how to set index to 50000 tables...?
    Thanks
    Giri

    user10737570 wrote:
    Hi,
    My DB version 10.2.0.3.0 running on IBM-AIX....Thanks for it
    As is said earlier my DB consist of 50k tables.
    Each table consist of millions of rows.
    So, while I try to access some rows, It takes more time (especially while running long query)
    Now I decided to set index to the tables by giving
    create index fbind on fdtab(owner);
    so that an index has been created with taking nearly 5 hours.
    so there are thousands of tables left to set the index.....Its an utterly bad idea to create indexes assuming that their presence will make the queries faster. The data selection, predicates, conditions, statistics of the tables, good/bad sql and lastly, optimizer issues, they all play a very important role in the performance. Just assuming that with index creation , your queries will be faster, I don't think its a reasonable thought to have. You have got a lot of tables as per your saying , it would take huge resource and time to create indexes on all of the tables. In addition to this issue, not all the tables would be requiring the similar type of indexes as well. Some may require B-tree while others may rquire Bitmap. Also , you must note that indexes will make dmls more slower. So Ishall again suggest that you benchmark the creation of indexes with a little more care.
    HTH
    Aman....

  • How to set all af:table with banding="row" and bandingInterval="1"

    i need all af:table in my project with two attribute banding="row" and bandingInterval="1", how to implement it
    by skin or css? pls give me a clue. thx

    Hi,
    skinning is for the look and feel (e.g. the color of the banding). The banding and banding interval is a component property that needs to be set on the page source
    Frank

  • How to set extended ascii table to ISO Latin-1?

    Hi,
    I need to specify a ascii table set to ISO Latin-1... anyone know how to do this?
    thanks in advance

    226 is the correct integer value for the character 'â'. The "extended ascii codes" on the page you cited come from the [cp437|http://en.wikipedia.org/wiki/Codepage_437] encoding, which is not what you should be using. The reason you see that other character (I assume it's 'Γ') is because the console on English-locale Windows machines uses cp437 by default. So your program is outputting the value in the platform-default windows-1252 encoding, but the console is mistakenly decoding the putput as cp437. You can force the console to use the correct encoding with the CHCP command, e.g. CHCP 1252 Internally, Java strings use the [UTF-16|http://en.wikipedia.org/wiki/UTF-16] encoding, which is identical to [ISO-8859-1|http://en.wikipedia.org/wiki/ISO/IEC_8859-1#ISO-8859-1] for the first 256 characters. If you're going to refer to Latin characters by their integer values, that's the conversion table you should be using.

  • How to set cursor in table control?

    I have a table control (Screen 300) to display invoice number and amount. For some checks we have around 200 invoices to be displayed.  When user enters the invoice number in invoice text box and click on OK, it should highlight the invoice number and amount row or set the cursor position.
    I have another problem.
    Screen 300 is being called from Screen 200. When the user clicks on OK in 300, 300 is getting closed. Acutally it should be displayed with Cusor position or highlighted row.
    I appreaciate your help ... Thanks

    I believe that you can use the SET CURSOR statement to do the first part of your requirement.  Something like this should work:
    SET CURSOR FIELD w_field LINE w_line.
    Here's the info from SAP help:
    Effect
    : The cursor is positioned on the screen element whose name is contained in upper case in field. The data object field must be character-type and flat. The screen layout or a table control is scrolled in the display so that the screen element on which the cursor is positioned is visible. If the specified screen element is not found, the statement is ignored.
    If the specified screen element is part of a table control or a step loop, the line of the table control or group of the step loop in which the cursor is positioned on the specified screen element must be specified using the addition LINE. For the data object line, the type i is expected. If there is no line or group for the value of line, or the addition LINE is not specified, the statement is ignored. The statement is also ignored if the addition LINE is specified and the screen element is not part of a table control or step loop.
    I hope this helps.
    - April King

  • How to set value for table lines in web dynpro ?

    Hi experts,
    I'm new in webdynpro. My requirement is to set value to the second line when user press expand on first line.
    In method ONACTIONLOAD_CHILDREN , I use  get_static_attributes_table to get the current table records and change return table value .
    Then i user bind_table to pass table to the screen.
    It works fine for first time i press expand and collaps, but when i expand it again it throw out a dump 'OBJECTS_OBJREF_NOT_ASSIGNED'.
    Could any one please help to solve that?
    Thanks

    Hi Harsha,
    Thanks for your reply,I've check the dump details and it display like this:
    Information on where terminated
        Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
         in "IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 40
        of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM007".
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE" "(METHOD)", but it was neither
         handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "CL_WDR_CONTEXT_ELEMENT========CP "; its source
         code begins in line
        1 of the (Include program "CL_WDR_CONTEXT_ELEMENT========CM007 ".
    First time i debug it work fine but the next time it dump with same import values.  And it even did not reach the logic i add when i expand it again.
    I'm not sure why it happen.
    My code in ONACTIONLOAD_CHILDREN is like this.
    *navigate from <CONTEXT> to <ITEM_DATA> via lead selection
      lo_nd_item_data = wd_context->path_get_node( path =
      `COMP_CONTEXT.ITEM_DATA` ).
    *get element via lead selection
      lo_el_item_data = lo_nd_item_data->get_element( ).
    *get all declared attributes
      lo_nd_item_data->get_static_attributes_table(
        IMPORTING
          table = lt_item_data ).
      LOOP AT lt_item_data INTO ls_item_data.
        IF sy-tabix = 2.
          ls_item_data-description = 'TEST'.
          MODIFY lt_item_data FROM ls_item_data TRANSPORTING description.
        ENDIF.
      ENDLOOP.
        lo_nd_item_data->bind_table( new_items = lt_item_data
        set_initial_elements = abap_true ).
        lo_nd_item_data->set_lead_selection_index( 1 ).
    First line was set selected but still got dump.
    Could you please help to check this ?
    Thanks & Regards
    Eric Li

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

  • How to get the values from table region and how to set

    Hi,
    I have a requirement as Seeded Page Having One Table Region having around 8 columns, In That Item Description field is there. My Requirement is I need add one more field for that Region and assign the value depending Item Description.
    I will create one new Item in that region and will give name as Item, But how to set the values to Item Depending on Item Description.
    Is it possible to through CO Extension, If yes..Pls help how to get it.
    Thanks in Advance,
    Hanimi

    Hi Hanimi,
    1. You need to extend the VO, add a new Attribute.
    2. In VORowImpl of the extended VO, you can find the getter for your new attribute (example getItem())
    3. In this getter method you can write some code like:
    if("ABC".equals(getItemDescription())
    return "XYZ" ;
    -Prince
    http://princekapoor82.blogspot.com

  • How to set border lines in table and also in template in the smartforms ?

    How to set border lines in table and also in template in the smartforms ?
    As I have to create table with following detals
    total row = 3
    row1 = 3 column
    row2 = 6 column
    row3 = 9 column
    for 2nd and 3rd row data to be fetched using coding.
    so can anybody explain me what should i use
    Table or Template ?
    and I want the border like excel format.
    Can anybody suggest me ?
    Thanks
    naresh

    if the data is multiple i.e. line items choose table.
    if the data is single i.e. fixed choose template.
    Create table
    >  Draw u r no lines
    > choose option select pattern
    > select display framed patterns
    Choose u r required one.
    out lined, or full lined. u can choose option.
    same procedure to be followed for template also.
    with regards,
    Kiran.G

  • How to set background color in af:inputText in an af:table

    Hi,
    how to set background color in af:inputText in an af:table depending on the value of af:inputText.
    For example, how to set background red if the af:inpuText is empty
    Thanks

    Hello Pavo,
    it's also possible to take the code from ebitar and use the expression within styleClass instead of inlineStyle.
    E.g. you can define a custom style "StyleClassEmptyText" in your skin and set this styleclass if af:inputtext is empty.
    By using style classes you can have the same style in the whole application and you are able to change this style on a single point(in the styleclass) for the whole application.
    br
    Peter

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • How to set db schema in fact tables

    Hi!
    I have one mapping with one table(table1) pointing to one fact table (fact1).
    This fact table has two dimensions located in two different schemas. I already deployed those dimensions and tables and its ok.
    My problem is: when I open the mapping editor and ask to generate the mapping to create the package to populate the fact table,
    I can see why I can not deploy it (PL/SQL: ORA-00942: table or view does not exist).
    My query is: SELECT (fields) FROM schema.table1, table2 ,table3 WHERE....
    I cant set the schema property from my table (table1), but I cant´t do the same with the table2 and table3 (both tables related to dimensions). i don´t have this option!
    I don´t understand why this happen because both dimensions are ok. They are in two different modules and the locations are ok too.
    I understand that the mapping needs the dimension keys to populated the fact table, but I really don´t know how to set this schema property. If i can´t do that,
    i don´t know how to "fix" this problem. If a can´t set this schema property, how can I deploy this mapping whitout this???!!!!
    I´m using the 10.2 version.
    Thanks o lot!!!!!!!!!!!

    This is what really happens in my example.
    Look the "Generation Results" :
    SELECT
    /*+ ORDERED NO_MERGE("INGRP1") */
    "TEMP_TABLE"."Value1" "Value1",
    "TEMP_TABLE"."Value2" "Value2",
    "DIMENSION1"."ID" "ID",
    "DIMENSION2"."ID" "ID"
    FROM
    "SCHEMA"."TEMP_TABLE" "TEMP_TABLE", -> I CANT SET THIS schema
    "DIMENSION1" "DIMENSION1", -> i can´t do the same here
    "DIMENSION2" "DIMENSION2" -> i can´t do the same here
    WHERE
    ( "DIMENSION1"."DIMENSION_KEY" = "DIMENSION1"."ID" ) AND
    ( "DIMENSION1"."ID" IS NOT NULL ) AND
    ( "DIMENSION2"."DIMENSION_KEY" = "DIMENSION2"."ID" ) AND
    ( "DIMENSION2"."ID" IS NOT NULL ) AND
    ( "DIMENSION1"."key" = "TEMP_TABLE"."key" ) AND
    ( "DIMENSION2"."key" = "TEMP_TABLE"."key" )
    I already tried to use 3 DB-Modules but I have the same problem. :o(
    I don´t know what to do!!!!!!!

Maybe you are looking for