Frage

I've a datatable that is wrapped inside a div. This div has a fix height with overflow: auto, which will cause vertical scroll bar to show when overflow occurred. This datatable has a EDIT link on each row, where user can click on to edit data. This link is a commandlink with ajax. The ajax is working fine. The problem that I'm having is that after the ajax refreshed that datatable, the vertical scroll bar is being repositioned to the top. Is there a way to prevent this?

Thanks

Keine korrekte Lösung

Andere Tipps

I was able to get around this problem by changing the render attribute of the ajax tag form @form to the datatable id.

thanks

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top