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,335

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
Former Member
0 Likes

Hey,

http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html

has worked by using the headInclude tag. I don't all the in's and out's yet but as soon as I do I will post the answer. I just want to make sure no one has any issues with posting the solution.

As always TIA,

Rich

eddy_declercq
Active Contributor
0 Likes

As also said in the other weblog, you can use frames, which is cross browser/platform. Put the fixed part in a fixed frame and the scrollable part in a scrollable frame. Make sure that the order of the records is the same in both frames.

If you use some params, you can even use one single BSP page (apart from the frame def BSP page) for this.

Former Member
0 Likes

Working example of using this CSS form.