bigGuy
bigGuy

Reputation: 1744

Richfaces modalPanel scrolling

Im using Richfaces 3.3.

I open modal panel (with scrollableDataTable inside). When I scroll up/down, I expect that scrollableDataTable in modal panel will be scrolled. But parent window is scrolled instead. How can I fix it?

Upvotes: 1

Views: 1372

Answers (1)

Ömer Faruk Almalı
Ömer Faruk Almalı

Reputation: 3822

.rich-mpnl-panel {
    overflow: hidden;
}

If it is not going to be enough alone try sth. like this:

<rich:scrollableDataTable> 
    <div class="scrollable"/>
<rich:scrollableDataTable>

And apply this class:

.scrollable {
    overflow: scroll;
    width:100%;
    height:100%;
}

Upvotes: 1

Related Questions