cancel
Showing results for 
Search instead for 
Did you mean: 

Making header row of table static on scrooling

Former Member
0 Kudos

Hi,

I want , when i scrool down or scrool up the table header row must stay unscrooled.

How can i do that?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi,

If you are using CE 7.1 you will get automatic scroll bars for the table. But for NW 7.0, we have a work around for this.

Create two tables, one for header and one for data.

For first table, set table header and width property. Set table cell editor to invisible.

For second table, set table header to invisible. Set table cell editor width property same as first table header width. Put this second table inside the scroll container. Set visible rows -1 and scroll mode vertical.

Feel free to revert in case of any issues.

Regards,

Siva

Former Member
0 Kudos

I recommend not to use all these crappy workarounds. If you later upgrade your server you have to change your code again. Just use the UI elements as designed for the corresponding release.

Armin

former_member197348
Active Contributor
0 Kudos

Hi Armin,

I recommend not to use all these crappy workarounds.

Unfortunately, we, the developers, can not ask the customers to upgrade for achieving this type of small requirements.

Even we can not say "It is not possible in this version". That is the reason we are looking for workarounds.

It is a very common requirement from the customers that is why SAP also have given this functionality in CE 7.1.

Since it is not a product development , we don't have such a freedom.

I did not expect such an answer from respectable moderators like you.

Regards,

Siva

Edited by: Siva Rama Krushna on Sep 25, 2009 11:19 PM

Former Member
0 Kudos

Thanks for the term "respectable moderators" (I am no moderator of this group anymore).

My argument stands. Using such workarounds may seem reasonable but in the longer run it will lead to problems. And I just want to help you, the Web Dynpro users, from getting into trouble.

Armin

Answers (1)

Answers (1)

Former Member
0 Kudos

You do that by using the Table as designed and not putting it inside a scroll container.

Armin