# Datagrid inside a Scrollpane issue

**URL:** <https://forum.kirupa.com/t/datagrid-inside-a-scrollpane-issue/202241>\
**Category:** flash\
**Created:** [September 28, 2006, 10:27pm UTC](https://forum.kirupa.com/t/datagrid-inside-a-scrollpane-issue/202241 "2006-09-28T22:27:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbjorgen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jbjorgen/32/2867_2.png) [@jbjorgen](https://forum.kirupa.com/u/jbjorgen)\
**Post date:** [September 28, 2006, 10:27pm UTC](https://forum.kirupa.com/t/datagrid-inside-a-scrollpane-issue/202241/1 "2006-09-28T22:27:58Z")

</div>

Normally, when the enter key is pressed inside a datagrid, the focus moves to the same column in the next record (down one cell). When the datagrid is embedded inside a scrollpane, this behavior ceases to function. In fact, I can’t even get a keyboard event to fire when I hit the enter key. Any ideas on how I can restore the default functionality?

Here’s an example: [http://schooldynamics.net/jbjorgen/problem.zip](http://schooldynamics.net/jbjorgen/problem.zip)
