RE: [flexcoders] Need help in dynamically updating datagrid

2007-03-05 Thread Tracy Spratt
So the selected item in the combobox contains the key/filter value for
the php query?

 

In the change event of the combo, invoke send() on the HTTPService,
passing in the key(s).  In a result handler function, assign the
returned data to the dataProvider of the DataGrid and chart..

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of devil_love_99
Sent: Friday, March 02, 2007 12:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help in dynamically updating datagrid

 

Hi All,

I am developing a flex app, for the first time. I have three main
components. A combo-box, datagrid and a graph. The combobox is
populated using httprequest to a php page which provides data from
mysql database. My problem is I need to populate the datagrid and
update graph depending on the value selected from combo-box but can't
seem to get it working. I have tried states and also went to the
extent of replacing the whole datgrid with another one (visible
property) but still stuck. I can send the code as soon as my
workstation comes up, but if someone has any pointer he/she can spare
me, it will be greatly appriciated.

thanks in advance

 



[flexcoders] Need help in dynamically updating datagrid

2007-03-02 Thread devil_love_99
Hi All,

I am developing a flex app, for the first time. I have three main
components. A combo-box, datagrid and a graph. The combobox is
populated using httprequest to a php page which provides data from
mysql database. My problem is I need to populate the datagrid and
update graph depending on the value selected from combo-box but can't
seem to get it working. I have tried states and also went to the
extent of replacing the whole datgrid with another one (visible
property) but still stuck. I can send the code as soon as my
workstation comes up, but if someone has any pointer he/she can spare
me, it will be greatly appriciated.

thanks in advance