Hi list

Little question about datagrid

I have a datagird "form" style

there is an arrow btn to close or open a fld (as in the webinar)

I have a mouseDown fuction in the behavior script

I want to close or open all the arrows at once
so my script is

  dgmouseDown
   if pmouseBtnNum is "1" then
      if the short name of the target is "arrow" then
       if the optionKey is "down" then
       put the dgData of group "DataGrid historique" into theData
       repeat for each key tkey in theData
          put "false" into theData[tKey]["expanded"]
      end repeat
      set the dgData of of group "DataGrid historique" to theData
      send "ResetList" to group "DataGrid historique"
   else
   ...

it doesn't work !

what is wrong ?

thanks

Greetings.

Yves COPPE
[email protected]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to