# Datagrid AS2, how can I select a row with script

**URL:** <https://forum.kirupa.com/t/datagrid-as2-how-can-i-select-a-row-with-script/321651>\
**Category:** flash\
**Created:** [April 26, 2011, 8:02pm UTC](https://forum.kirupa.com/t/datagrid-as2-how-can-i-select-a-row-with-script/321651 "2011-04-26T20:02:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davetifftaylor](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@davetifftaylor](https://forum.kirupa.com/u/davetifftaylor)\
**Post date:** [April 26, 2011, 8:02pm UTC](https://forum.kirupa.com/t/datagrid-as2-how-can-i-select-a-row-with-script/321651/1 "2011-04-26T20:02:41Z")

</div>

Hi

Using Datagrid with AS2, if the Datagrid gets filled with one row of data I want to select that row with script, i.e. the program does it for the user.

I can seem to find the syntax for selectrow(x)

Is it possible

Re Dave
