Hello. I apologize if the title of this question is a bit misleading, I could not come up with a better name.
I got the following HTML:
<div style="height:200px;overflow-y:scroll;">
<table>.....</table>
</div>
With this setup I'm somewhat mimicking the expanded <select>
control with @size attribute defined. So, that a user could select a row in the table. Is there a way, to make the table "jump up", so that the selected row appears to be at the top of the div and the vertical scrollbar scrolled to its position. I don't need the actual scrolling effect. The table should change it's position right away on row click.
I feel like this isn't a very good explanation, I'm struggling to find the right words. Let me know if I should clarify anything, please.
Thank you.