PDA

View Full Version : Set datagrid row as highlighted?


jobbietron
11-22-2005, 06:15 PM
does anyone know how to set the first row on my datagrid to be highlighted as a default?

Gibberish
11-22-2005, 06:32 PM
Should be something around this grid.selectedIndex = 0;

You might have to use selectedIndixes if that selects only one cell.

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00002232.html