5 Replies Latest reply on May 7, 2010 10:22 AM by Flex harUI

    flex datagrid itemRenderer with different states

    gauravgr8

      Hi,

      I have a datagrid with allowMultipleSelection="true" & itemRenderer as my custom component. The custom component have 2 states "NORMAL" & "EXPANDED".

      Now on row selection the renderer should change its state from NORMAL to EXPANDED state. And if I am selecting multiple rows then all the selected rows should be in EXPANDED state.

      As soon as the selection goes the renderer should retain its NORMAL state.

      I am stuck. Please help me out.

      Thanks in advance.