cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable pagination in Table and Create a Vertical Scrollbar

Former Member
0 Kudos

Hello Experts,

I have created 6 rows of data but want to show only first 5 of them in the table, and want to show the 6th row with the help of a Vertical ScrollBar and not with the Pagination.

For this purpose,

I have created a Table with VisibleRowCount = 5 and ScrollableColCount = -1

I have disabled the Footer (Pagination).

However, when i run the application, I can still see the pagination coming with the Table even when i have disabled it in table's properties.

Also what would be the procedure to implement a Vertical ScrollBar for a Table with fixed RowCounts.

Does anybody have any idea ? Best Replies will get maximum rewards

Regards,

Amol

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The only way to have a vertical scroll bar with a table is to put the table inside a ScrollContainer.

Regards,

Satyajit.

Former Member
0 Kudos

Yes i tried the scrollcontainer.

but how to disable the Pagination ?

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Amol

Set 'visibleRowCount' to -1.

BR

Sergei

Former Member
0 Kudos

Problem got Solved by using scroll container and setting 'visibleRowCount' to -1

Thanks everyone.

Regards,

Amol

Answers (1)

Answers (1)

Former Member
0 Kudos

you need to set the visiblerowcounts dynamically...

int i = get the Number of elemts in the node

domodifyview()

{

IWDTable tab1 = (IWDTable) view.getelement("ele.id");

tab1.setvisiblerowcount(i);

}