cancel
Showing results for 
Search instead for 
Did you mean: 

How to Freeze the Table Columns

Former Member
0 Kudos

Hi,

I have the table which contains 33 columns.I kept the table inside the Scroll container.when the user see the last column while navigating through the Scroll Bar ,he wants to see the Employee name field also which is in the first column.so that the user can correlate the Information in last col corresponding to which Employee Name.

For that I need to freeze the First col(Emp-Name) and all the remaining cols are scrollable.

How to do it in webdynpro ?

If any one bring me the solution it will be more helpful to me

Thanks in advance.

Regards,

Malar V

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Malar,

HRU

use the "scrollable col count" property of your table.

set it to the rquired values so that only those columns can be scrolled and the rest would not be scrolled..

so if we want 5 columns displayed total and one of them will always be fixed, we need to set the value to 4.

--

Harish

Former Member
0 Kudos

Hi Harish,

I m fine.How s Mumbai...Actually if we use Scrollable ColCount only those Cols are visible we can navigate other cols only when we click the arrow. But the requirement s All the Cols should be visible but only the first two cols should be freezed.I have done by splitting to two tables as the Previous friend mentioned. Now the Problem solved.

I have created the Context node which is of type integer and assign that to firstvisiblerow field of both the tables.

the Context node contains the Size of the node which is assigned to the table.

so that whenever Any of the table col been selected it s reflected in other table also. Now the Problem solved.

Thanks for ur reply harish.

Regards,

Malar.

Former Member
0 Kudos

Hi Thenmalar,

if you use 2004s (7.0) you can fix it in the Table columns "fixed position".

If you user only WebAs 6.4 there is no chance to fix it.

kind regards

Gunter

Former Member
0 Kudos

Hi,

I have used that Fixed Position Property It s not solving the Issue .

Regards,

Thenmalar.

former_member197348
Active Contributor
0 Kudos

Hi Thenmalar,

We have done similar requirement in NW2004. To achieve this you need to use two tables side by side, one for freezed columns and another for other columns. Using layout setting like padding we can make the two table look one table. Second table is to be put ScrollContainer.

regards,

Siva

Former Member
0 Kudos

Hi Siva rama Krishna,

Ths s really the useful Answer. I have assigned the Forum Points to u. Thanks i will try this Option & get back to you.

Regards,

Thenmalar v

Former Member
0 Kudos

Hi Siva,

It is Coming very Properly.Thank u once again.

Now the Problem is ,when i click the next 5 rows of the Fixed Column table , it must be reflected in second table also that means automatically it must show the next 5 Employee information of the other table. how do i do that?

Thanks in advance

Regards,

Thenmalar v

Former Member
0 Kudos

Hey you can do one thing while displaying the data on to the table arrange the columns as you want in the table by moving up and down the columns according to your requirement from the table UI element(under rootuielement container).why to freeze a particular column.

Former Member
0 Kudos

Hi

Are u using NW2004s? If yes u've option for scrollable columns with certain fixed columns as wel..

Regards

Renu Nair.