cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fixed column when scrolling right when using tableview and iterator

Former Member
0 Likes
1,343

Hello again,

I have created a BSP that displays a table. No real rocket science here. But the table has more columns than can be displayed on the screen. So the user has to scroll to the right. Again no biggie. The problem is that the first column on the left contains the description of the data in the row. So when the user scrolls right the description "disappears" off the left side of the screen. Is there a way to make the first column always stay on the left part of the screen. Similar to the ALV and how you can make certain columns (the key columns) not scroll to the left. I am using the HTMLB tableview tag a table iterator(which I love) and MVC. I tried the fixedColumn attribute but that didn't work. Any ideas?

TIA,

Rich

View Entire Topic
maximilian_schaufler
Active Contributor
0 Likes

Hi Richard,

for the standard tableview there is no possibility to have this feature of real "fixed columns".

To partly achieve what you desire ... have you thought about displaying two tableviews next to each other, one holding your "fixed columns", the other one being placed in a scrollable div/layer ...

Of course, depending on what you want to do with the tableview (editing, ...) this might require a lot of additional coding (also javascript) to make it work smoothly, but if it is a "read-only" tableview try considering it.

Cheers,

Max