From: tim
The problem I am having is that the datatable displays from the beginning.
I would like it to display staring from the record they clicked.
I know this can be done in html with anchors.
Tim, how would you do this in HTML? I gotta admit, I got sidetracked by the
hockey fight and lost track of the specific issue. This isn't so much as
EGL question as it is a JSF question; you need to somehow identify a row and
then make that row visible, right?
Nathan suggested the scrollIntoView JavaScript method. It is relatively
easy to implement custom JavaScript; attach a JS method to the onLoad
parameter. A little trickier is identifying a specific row, but I think you
could do it using a JSF tag. You can specify an ID on a column using a
value from the row. Put a unique key in a field in the row, and use that as
the ID for an invisible column. Then find the cell using that ID, and use
the scrollIntoView method.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.