Skip to Content
avatar image
Former Member

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.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 01, 2010 at 05:00 PM


    One way could be hide the right click for the user so that he doesn't modify the table settings.

    For this check this thread


    This talks about disabling right click option for the whole WD Application.


    Manas Dua

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Jung

      Hello Manas and Thomas,

      Finally I have decided to create a Component configuration and set the number of visible rows as final.

      I didn't try to find the other way, since It is more complex and It will deteriorate the performance.

      Many thanks!