0 Replies Latest reply on Mar 11, 2009 7:46 PM by fuyuko1979

    scrollToIndex of a datagrid does nto work when it is resized

      Hi there,

      I have a datagrid in which when i select a row the datagrid resizes - height is reduced - to reveal more information on the row that has been clicked.
      What I want to do is if I select a row that is further down the list then after the datagrid resizes I want it to scroll to the row that is currently selected so that that selected row is always visible in the datagrid box, however this is not working at all!
      I am wondering if it is because I change the datagrid height by changing the state and therefore the new height of the datagrid is not recognised by flex?... or something like that?

      any help would be greatly appreciated....

      thank you,