3 Replies Latest reply on Jun 21, 2007 2:21 PM by fuzzarooO

    Datagrid show event not being dispatched?

      Simple mxml-snippet is

      <mx:DataGrid show="trace('foo');">

      Nothing shown in the console.

      If, for some reason, this is the expected behaviour, how and where should I add logic when the user for example toggles from one tab to the other which contains my datagrid, which is populated with XML recived via HTTPService with parameters from the first tab? .... and that might be hard to understand what I mean, but hopefully you all get my point :)

      In the above question, one solution is to use the show event of a canvas but that breaks or clutters stuff when using a custom component... bad coding imho to extend a canvas to contain the datagrid which is the actual custom component.