views:

87

answers:

0

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.