Tim wrote:
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.
My reply is a shot in the dark. I've never used EGL. Can you think of a way to assign an "id" to a row and evoke the row.scrollIntoView() method in JavaScript?
<html>
<body>
<div style="height:250; width:100%; overflow:scroll">
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr id="r1">
<td> </td>
</tr>
<tr id="r2">
<td> </td>
</tr>
<tr id="r3">
<td> </td>
</tr>
<tr id="r4">
<td> </td>
</tr>
<tr id="r5">
<td> </td>
</tr>
<tr id="r6">
<td> </td>
</tr>
<tr id="r7">
<td> </td>
</tr>
<tr id="r8">
<td> </td>
</tr>
<tr id="r9">
<td> </td>
</tr>
<tr id="r10">
<td> </td>
</tr>
<tr id="r11">
<td> </td>
</tr>
<tr id="r12">
<td> </td>
</tr>
<tr id="r13">
<td> </td>
</tr>
</table>
</div>
</body>
<script language="javascript">
document.getElementById("r3").scrollIntoView();
</script>
</html>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
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.