0
votes

I am trying to set datagrid selectedIndex. selectedIndex value is based on some logic. In mx datagrid it was simple assigning value to selectedIndex property and was working fine but is not behaving similar in case of spark datagrid.

For example - mygrid.selectedIndex = 1; does not set the value to 1.

1

1 Answers

0
votes

In Flex 4.5 Application Default set Data grid selcted index is first row only. if you want to change a row selection Please Try this Method setSelectedCell();.