cancel
Showing results for 
Search instead for 
Did you mean: 

Can I hide scrollbar in tables

Former Member
0 Kudos

I want to hide scrollbar in table and scroll acrion by mouse when cursor in table area. Are there any methods to do this?

Message was edited by: Ervin Szolke removed nwdi from the title as I believe it is not related

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Na Na,

You can fixed the scroll bar & can go for previous & next button or Paging in  Web Dynpro Java.

Please follow below links to do that.

1) Previous & Next button:-

https://scn.sap.com/thread/3427336

2) Paging :-

http://scn.sap.com/people/bertram.ganz/blog/2008/11/27/web-dynpro-java-table-paging-unleashed-optimi...

Thanks,

Patralekha

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

yes, this is what I meant by custom solutions, but for standard applications like nwdi this won't work as you cannot cusomize such UIs.

Regards,

Ervin

Former Member
0 Kudos

OK...

Former Member
0 Kudos

how I can fixed scrollbar? I have buttons Next and Previouse. But when my cursor in table area, I can scrolling this area. And this buttons doesn't work right after scroll.

Former Member
0 Kudos

Dear Na Na,

You can use "VisibleRowCout" property of Table UI  to specify the number of table rows that can be displayed without the user needing to scroll.

Specify a maximum value of visible rows in "invisibleRowCount" property  by binding the field with your output node size.


Thanks,

patralekha

Former Member
0 Kudos

I have VisibleRowCout = 30. And 302 elements in a table. Scrollbar is working. Where can i find property invisibleRowCount?

Former Member
0 Kudos

"invisibleRowCount' is not there in Table properties in Web Dynpro Java.


You can change the "datasource" property ,you can set only those 30 elements into your node which binds to this "datasource" property ,so other elements will be invisible.


Former Member
0 Kudos

Yes, I try it. Thanks.

Former Member
0 Kudos

OK...Welcome...

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

this is rather a general WD Java question (I am moving this thread to that forum) and I am not aware of a functionality you could use to hide scrollbar of tables.

Best Regards,

Ervin

Former Member
0 Kudos

and also I can't block scrolling in table when cursor in table area?

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Na Na,

unfortunately you can't.

If this is a standard delivered application (like nwdi for which you raised this question originally) then you cannot do much. If a wd java application is embedded into portal then you can customize the table (using ctrl+alt right mouse click -- this is what we call webdynpro end-user personalization) where you can hide and reorganize the order of table columns, but even there you won't have any possibility to get rid of the scrollbar or any mouse event related to scrolling.

If the application is custom built then you can build your own table-like ui which behaves as you wish, but for standard ui elements like the wd java table you won't have this possibility.

Perhaps you can disable mouse events using webwidget (via javascript) but I am not sure about this.

Still I hope you found this post useful.

Best Regards,

Ervin