cancel
Showing results for 
Search instead for 
Did you mean: 

scroll bar for the table

Former Member
0 Kudos

hi

i have a contextual panel and in it i have created

a table which has about 15 to 20 rows and columns

now i want the arrows in the table which is used

for drilling up or down in the table for selecting the

rows , instead i need horizontal and vertical scroll bar

for the table

can any one help me out ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Murali,

Are you using webdynpro Table UI element. In that i think you can't achieve scroll bars.

In that UI footer is there where you can drilled up and down.

Please provide more input.

Regards,

Deepak

Former Member
0 Kudos

hi

thanks for the reply ,

using scroll container is working fine ,

but this functionality should be achieved for the

table , not table to be put int he scroll container

as the problem is , i have 2000 entries in the

table and for this again i need to drill down using

arrow or drill for certain entries using arrows

instead need scroll bar for the table

if this can achieved it would be helpful ?

Former Member
0 Kudos

HI,

For this, you have to follow procedure specified by Mrs Jhansi.

as it's not possible putting scroll only for Table UI Element..

Put your table in ScrollContainer and set FooterVisible property to false.

Regards

LakshmiNarayana

former_member201361
Active Contributor
0 Kudos

hi,

I think if u set the VisibleRowCount property of the table to 10 , u will get the Vertical Scroll bar .

Thanks and Regards

fazal

Former Member
0 Kudos

hi

thanks for the reply ,

is it possible to only have verticle scroll bar

and increase horizontaly data depending on the

data entry

regards

murali

Former Member
0 Kudos

HI,

Table will be expanded horizantally as per given data..

If u want Vertical scroll only, then set Scrolling mode property of ScrollContainer to single

Regards

LakshmiNarayana

Former Member
0 Kudos

Hi,

is it possible to only have verticle scroll bar

set the VisibleRowCount to the 5 initially and later on assing tihs to the size of the node.

Ex:

Create a calculated attribute of type integer

in the getMethod do as follows and bind this attribute to the visiblerowcount property of the table.



public int getRowCount(IPrivateTestCompView.IContextElement element)
  {
    //@@begin getRowCount
      return wdContext.nodeOrders().isEmpty()? 5: wdContext.nodeOrders().size() ;
    //@@end
  }

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Murali,

Add the Table inside a ScrollContainer UI Element and

1. set "visibleRowCount" to -1 (meaning "all rows").

2. set the 'scrollingMode' of the ScrollContainer as 'auto'.

3. set the height(in pixels) and width of the container as some fixed value. So when the table area becomes more than the space specified, the scroll bar will automatically appear.

But this will also scroll the header.

Thanks n Regards,

Jhansi Miryala