First visible row on a CatalogTable

My first visible row property on a CatalogTable is always display at row 2.  I've set the property to 1 in the layout design and I've tried setting it using within the wdDoModifyView, but it still displays row 2 first.  This causes my users to perform a page up to see row 1.  Can anyone tell me why I cannot set it correctly?
IWDTable tv = (IWDTable)view.getElement("CatalogTable");
tv.setFirstVisibleRow(1);

Hi Steve
IWDTable tv = (IWDTable)view.getElement("CatalogTable");
tv.setFirstVisibleRow(<b>0</b>);
BR
Sergei

Similar Messages

  • Setting first visible row in Web Dynpro ALV in Releases above 7.0

    Hello Everybody,
    I have an ALV in which a particular row should be set to lead selection and also set as the first visible row in this ALV for the first display. The index for this row is determined at runtime.
    I used the method SET_FIRST_VISIBLE_ROW of the interface IF_SALV_WD_TABLE_SETTINGS and it worked fine in a system of Release 7.0.
    However, after the system has been upgraded to 7.02, this is not working. The row is lead selected but it is not set as the first visible row and as a result I need to scroll down and look for the row that is lead selected.
    Does anybody have suggestions?
    Thanks!
    Vidya

    Hello Srilatha,
    Thanks a lot for your suggestion! I am calling method SET_FIRST_VISIBLE_ROW in the wddoinit method of the view.
    I tried checking in the debugging mode by inserting a call to GET_FIRST_VISIBLE_ROW in both the wddoinit method as well as wddomodifyview method.
    The value of the first visible row is correct in both these methods but when the screen is rendered, the first row of the ALV continues to be the first visible row.
      CALL METHOD wd_this->lref_nd_node_rename->set_lead_selection_index
        EXPORTING
          index = lv_leadselection.
      wd_this->lref_table_settings ?= wd_this->lref_value.
      CALL METHOD wd_this->lref_table_settings->set_first_visible_row
        EXPORTING
          value = lv_leadselection.
      " Set vertical scrollbar height to 15 rows
      CALL METHOD wd_this->lref_table_settings->set_visible_row_count
        EXPORTING
          value = '15'.
    Here lv_leadselection contains the index of the row that needs to be lead selected (in this case it is 3)
    lref_value is of type CL_SALV_WD_CONFIG_TABLE
    lref_table_settings is of type IF_SALV_WD_TABLE_SETTINGS
    lref_value and lref_table_setings are view attributes.
    Thanks and best regards,
    Vidya

  • Scrolling table. Getting Number of Visible rows from User Settings.

    Hello everyone,
    I hope you can show me the way to the light! here is my problem:
    I have to control the scroll of a table, for allow to the user to see always one blank row for entry proposes.
    For that I know that I can ge the number of visible rows and the first visible row through the methods:
    cl_wd_table->get_visible_row_count( ).
    cl_wd_table->get_first_visible_row( ).
    The problem is that the user can modify the number of visible rows through the user settings in the table ( right button on the table "User Settings->more..." ) and it doesn't modify the value returned by the method cl_wd_table->get_visible_row_count( ).
    How could I get the visible rows set up by the user in his user settings for control the scroll dynamically?
    Many thanks in advice.
    G.

    Hi G,
    The changes what user will be making will be classified as personalization.
    I was looking into the ways of finding the user specific personalization in the code and then callin the mthod set_first_visible_row.
    There are few classes related to personalization like CL_WDR_PERSONALIZATION_SERVICE and CL_WDR_PERS_MANAGER.
    I tried calling method get_pers_data of class CL_WDR_PERSONALIZATION_SERVICE. But for me it was not returning any data.
    You can also look into these classes and try to fetch user specific personalized data with methods available.
    Another way which I thought is to create a component  configuration and make the number of rows as Final so that end user is not able to personalize this ( I know u won't agree on this  ).
    @ Thomas: Any specific inputs from your side on this problem.
    Regards
    Manas Dua

  • When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, and the safe search button is inoperable. Suggestions?

    When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, the remainder of the results page is blank, and the safe search button is inoperable. When I turn off private browsing and refresh the page, everything works again.
    Anyone else having this problem?

    I have got the same behaviour after the last Safari Update to 5.1.3. It seems that Safari now handles some scripts in a new way. If you debug the Google Website, you will see, that there is some Javascript Error, that seems to prevent to write into local cache. After some searching I wasn't able to finde a solution for this problem, other then disabling Javascript while private browsing to prevent the script loading. You then are able to use Google with the old layout. The option to disable JavaScript can be found in the Menu "Developer", wich has to be enabled in Safari in the options first.
    In my opinion this is a bug that is now occuring, because Apple changed something in private browsing and that has to be fixed by Google now, to run again. Or we will have to wait for 5.1.4, as you can read online Apple will change and bugfix the javascript engine in that version, perhaps this fixes the problem as well. I hope so!
    If anyone is in the developer program perhaps you could test this with the beta of 5.1.4 and tell us if it works.

  • First And Last Visible Row - JTable

    I have a JTable on a ScrollPane backed by a TableModel, which provides a view on a potentialy large database table. It would be very helpfull if I could find the First and the Last visible row in the JTable every time it makes an elementAt request via TableModel interface, so that the cache underneeth the TableModel could make more intelegent descissions as to when to request more rows from the DB. I cant seem to see any methods on JTable or JScrollpane( and subclasses ) to acheive this. I would greatly appreciate any sugestions.

    use
    Rectangle rect = MyTable.getVisibleRect();
    Point point = rect.getLocation();
    int firstRow = myTable.rowAtPoint( point ) );
    point.setLocation( rect.getX() + rect.getWidth(),
                             rect.getY() + rect.getHeight() );
    int lastRow = myTable.rowAtPoint( point ) );

  • How to group by a number of visible rows in drill down report

    hi,
    i have a drill down report with no detail row. 
    I need to control the number of rows shown on the page based on a variable that a user supplies, however it  needs to be only visible rows.
    if I add an outmost group based on an expression like this one:
    =Ceiling(RowNumber(
    "table1")/Parameters!recordsPerPage.Value)
     it will count all rows - visible or not.
    any help would be appreciated.
    thanks
    Inna

    Hi Inna,
    Based on my research, a drilldown report is a layout design that at first hides complexity and enables the user to toggle conditionally hidden report items to control how much detail data they want to see. Drilldown reports are used to change the report
    layout interactively. So it wouldn’t affect the rows displayed in the outmost group. Though some rows are hidden when the report is initially run, it will still count them. This is by design.
    Furthermore, if I understand correctly, you also expect the outmost group is a dynamic group depends on the drilldown action, right? As per my understanding, this function still cannot be achieved at this moment.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Number of Visible rows on the "Leave History" Table

    Dear SDN,
    please, how can I set the height of the "Leave History" table on the PZ54 ESS transaction ?
    The user is requesting more visible rows, but the table only displays 2 rows, and I can't find on the SDN how I can set this table property.
    --> This transaction can be accessed through the Portal, under ESS -> Leave -> Leave Application / Leave History, which is an ITS for the PZ54 transaction.
    Thanks in advance,
    Fabio

    This issue was fixed on post ITS iView height is compressed at first run

  • How to get  visible row  count  in JTable ?

    I have one table which is added to one scroll pane. For example my table have total 1000 rows, but at a time only 20 rows should be visible to the scroll pane. And I want to scroll the rows and show only 20 at a time.When user scrolls JTable then next time he can view only 1 to 21, then 2 to 22, and so on. I want to know how to get that number which represents the visible row( in this case it is 20).So kindly help me how to get visible row count. Any help regarding this will be appriciated.
    Thanks and Regards,
    Sheetal

    how to get visible row count.First you need to get the viewport used by the scrollpane. Then you can use methods like getViewPosition() and getViewSize() to get information about the current postition of and size of the viewport.
    Then you can use the table method getRowAtPoint(). to determine the first and last visible row which can then be used to calculate the visible row count.
    When user scrolls JTable then next time he can view only 1 to 21, then 2 to 22, and so onThis is the default behaviour when a "block" scroll is done.
    However when you click on the arrow button on the scrollbar it will only scroll a single row. You could override the getScrollableUnitIncrement() method to return the value from the getScrollableBlockIncrement() method.
    However the user can still drag the scrollbar manually which would cause a problem. So you would also need to remove the MouseMotionListeners from the scrollbar to prevent this.

  • TableView -- get the row number of the top most current visible row

    Is there any way to get the row number of the top most visible row, and or bottom most visible row in TableView?

    If you already know the document's name, the sheet's name and the table's name, the easy way is :
    --Here you may replace the three values by the current ones
    set dName to 1
    set sName to 1
    set tName to 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    tell first cell of the selection range to set {rowNum1, columnNum1} to {address of its row, address of its column}
    tell last cell of the selection range to set {rowNum2, columnNum2} to {address of its row, address of its column}
    end tell
    Yvan KOENIG (VALLAURIS, France) mercredi 9 février 2011 17:22:21

  • How to set visible row count dynamically

    i  need to place input field so that user enters value for visible row count in ALV WEBDYNPRO

    Hi Prabhu,
    As Suggested use set_visible_row_count. First count your table entries. based on count display records.
    count = LINES( lt_n_contract ).
      IF count > 5.
        lt_table_settings->set_visible_row_count( value  = 10 ).
      ELSE.
        lt_table_settings->set_visible_row_count( value  = 3 ).
      ENDIF.
    Cheers,
    Kris.

  • ADF Pagination - Customize number of visible rows

    Hi,
    Jdev - 11.1.1.5.0
    I want to provide a drop down option to select 'the number of visible rows'. Based on the option, it should display table content accordingly with the specified number of rows.
    Ex: I've a ViewObj to be displayed as a table.Table contains around 500 rows. I've dropdown with 50,75,100 values. If I select 50 from the drop down, the total rows will be devided by 50. It means, 10 pages 1,2,3,4,5,6,7,8,9,10 with links pointing to the corresponding 50 rows.
    I should be able to see first 50 rows by default. If I click on link 2, it should display rows from 51 to 100 etc. If I click on link 3, it should disply rows from 101 to 150 etc.
    Please suggest, if you have any suggestion or pointer on this use case.
    Thanks in advance,
    Samba

    hI,
    Thanks for your information.
    Able to achieve pagination. But before implementing this process, I am filtering the table content to be display using View Criteria.
    After following ADF Traditional pagination, unable to apply validations to filter the content. (http://codeplay.net/2011/04/21/simple-adf-traditional-pagination-2-with-business-component/)
    As I've transient attributed, if checkboxStatus = "Y" then only i am displaying those rows. Can you suggest any clue to provide validation on the data before displaying the content with pagination.
    -Samba.

  • Af:commandButton only works for the first 10 rows returned in the af:table

    Using JDeveloper 10.1.3.2.0.
    I am new to ADF programming. I have attempted to create an ADF page that contains a search and return table in the same page. The search appears to work fine but the return table displays odd behavior. If the search returns more than 10 rows such that it is possible to page forward through the rows returned the command button associated with the return table that allows the user to pick a particular row and navigate to another page does not work. If the user finds what he/she is looking for in the first ten rows then the command button works fine and the user is taken to the next page. The command button is actually defined to have an af:setActionListener to set a value in a backing bean and then command button has an action to invoke a backing bean. Both of these fire just fine if the selection is made from the first 10 rows. However once the user pages forward to another set of rows then neither seem to happen. Any advice on where to figure out what I did wrong?

    When I get a component that seems to do nothing under certain circumstances, the first thing I usually check for is Javascript errors. Sometimes errors on page load can keep a component's Javascript from firing properly.
    Try reproducing your problem in Firefox (or another browser with a decent Javascript error console; IE doesn't have one, although I think you can get extensions that provide JS debugging). Check the error console:
    # Before scrolling off the first 10 rows.
    # Right after scrolling off the first 10 rows.
    # After unsuccessfully clicking the command button.
    Do any interesting errors show up in steps 2 or 3?

  • How can I find out the first intial row in VA02-output transaction??

    How can I find out the first intial row in the screen which appears during sales order change (VA02) >>enter the sales order number >>after the first screen appears >>in the menu bar go to EXTRAS>>OUTPUT>>HEADER>>EDIT??
    I have to find out the first row in the OUTPUT column which is empty,then populate it with some data using BDC.
    usefull answers will be rewarded.
    regards,
    Shashank .

    Pass the sale order number in the object key of NAST table,
    if u get 3 entires, then u need to place ur entry in the fourth row in that table control thru BDC.
    I think u got the logic.
    Regards,
    Sujatha.

  • How to increase the ALV visible row count

    Hi Experts,
    My standard ALV display is displaying only 10 rows.
    My requirements is to display 20 rows.
    Please advise.
    Regards,
    Chitrasen

    hi ,
    u can set the row count to any number , here I am setting it to 5 using the method set_visible_row_count
    1 Change the visible row count to u20185u2019
      DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).
        DATA lo_value TYPE REF TO cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
        lo_value->if_salv_wd_table_settings~set_visible_row_count( '5' ).
    u can also go thru this useful links for CONFIGUIRING ALV :
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4;jsessionid=(J2EE3417400)ID0488867050DB10849380333905377829End
    SAP List Viewer (ALV) [original link is broken]
    Configuring ALV
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706;jsessionid=(J2EE3414800)ID0133346050DB00727847586176044227End?overridelayout=true&bcsi_scan_06B6B0A4B65849C2=0
    I hope it shud solve ur query.
    regards,
    amit

  • Regarding ssis - skip first 10 rows in excel source

    Hi,
       I have received an Excel Source file, but the first 10 rows have only company information; actual data starts from Row 11.  How will you skip the first 10 rows and start reading from row 11

    Hi Koteswararao,
    If the first row includes the column names, and the first 10 rows you said don’t include the first row. That means you want to skip the rows from 2 row to 10 row, then we can union two Excel sources to work around this issue. For more details, please refer
    to the following steps:
    Set the FirstRowHasColumnName property of the Excel Connection Manager to False, so the first row stores the column names in the sheet.
    Drag two Excel Sources to the Data Flow Task.
    In the Excel Source, use the SQL command below to replace the former(supposing there are three columns in the Excel sheet: col1, col2 and col3):
    SELECT F1 AS col1,F2 AS col2, F3 AS col3  FROM
    [sheet$A1:C1]
    In the Excel Source 1, please type the SQL command below (note that the ‘n’ means the number of rows in the sheet):
    SELECT F1 AS col1,F2 AS col2, F3 AS col3  FROM
    [sheet$A11:Cn]
    Drag a Union All component to the same task, then union those two Excel Sources.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Jdbc URL & connections properties

    Hello all, i would know if it is possible to add connection properties in a jdbc URL ( something like jdbc:oracle:oci8:user/pass@instance_machine:ResultSetMetaDataOptions=1&anotherProp=itsValue ...). Thank you in advance Loïc

  • Wiki: New just created users can do nothing? (10.6.4)

    Hello, After update to 10.6.4 there's an issue: any new users that I create in Server Prefs/WGM can't post to their blogs, comment, create wiki pages... They can't do anything! There's log from Wiki errors (when user DURAK tries to create new blog en

  • InfoCube Updation using Routine

    Hi All, I need help in writing abap code. The Scenario is on MM module which is as Follows. We have 4 ODS for PURCHASE ORDER, PURCHASE REQUISITION, GOODS RECEIPT & Invoice. PO ODS has 2 Key Fields i.e PO No., & PO Line Item No. PR ODS has 2 key field

  • RTP300 used only as a access point on LAN with WRTP54G

    I have the RTP300 which I want to use as an access point for my wireless laptop to my working WRTP54G LAN. The LAN has 2 servers with 4 USB printers that I need to use from the AP. The LAN is on 192.168.40.xxx but when I put the AP there everything s

  • I cant write reviews for apps from my Iphone 3gs

    For some reason I have never been able to write reviews for apps. As soon as I type anything in the title or comments box it greys out the send button so I cant submit anything. Does anyone have any ideas how to fix this?