I have a PrimeFaces dataTable that gets refreshed on actions of various controls of the page. (I use p:ajax update="myDataTable" ..)
I have a JavaScript method calling row.scrollIntoView(true) on the last table row. (The nicer row.scrollIntoViewIfNeeded(true) seems to be available only in Chrome.)
Well, I need the table to scroll to the last entry on such a refresh. Is there any event I can listen to? Or is there an alternative way?
The
p:ajaxtag has anoncompleteattribute. You could use: