As in you want to capture when the dataProvider has been set so you can adjust the size?

 

What are you binding the dataProvider to?  If it's a service result you could just use the result event handler to set the size.  The binding will fire before the result handler is called.  Otherwise you could extend the DataGrid and override the setDataProvider method:

 

function setDataProvider(dP : Object) : Void

{

  super.setDataProvider(dP);

  //do width stuff

}

 

Matt

 

-----Original Message-----
From: soulpositions [mailto:[EMAIL PROTECTED]
Sent:
Friday, April 30, 2004 12:50 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Quick question I can't find the answer too.

 

Hey guys/ladies,

Looking for some quick help. I've got a demoflex app i'm working on
and I'm trying to capture the databinding event for a datagrid so I
can dynamically grow the datagrid.

Anyone have any ideas?

Thanks,
Jason


Reply via email to