here is code i am using
 it is returning a queryset not an xml string

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
layout="absolute" creationComplete="wsUserTeams.getAllTeams.send()">

    <mx:Script>
        <![CDATA[
            [Bindable]
            public var selectedItem:Object;        
        ]]>
    </mx:Script>


        <mx:WebService id="wsUserTeams" 
wsdl="http://sitename/model/cfc_UserTeams.cfc?wsdl"; useProxy="false">
                <mx:operation name="getAllTeams">
                        <mx:request>
                                <strDSN>ProjMan</strDSN>
                        </mx:request>
                </mx:operation>
        </mx:WebService>
        <mx:DataGrid x="30" y="75" id="dgTeam" width="400" 
dataProvider="{wsUserTeams.getAllTeams.lastResult}" name="dgTeam">
                <mx:columns>
                        <mx:DataGridColumn dataField="intProjTeamID" 
headerText="TeamID" width="75"/>
                        <mx:DataGridColumn 
dataField="strProjTeamName" headerText="Team"/>
                </mx:columns>
        </mx:DataGrid>
        <mx:ComboBox x="498" y="89" width="310" name="dgTeam2" 
labelField="strProjTeamName" 
dataProvider="{wsUserTeams.getAllTeams.lastResult}" id="dgTeam2" 
close="selectedItem=ComboBox(event.target).selectedItem"/>
        <mx:VBox width="250">
                <mx:Label text="You selected: {selectedItem.label}"/>
                <mx:Label text="Data: {selectedItem.data}"/>
        </mx:VBox>         
                
</mx:Application>









--- In [email protected], "passive_thoughts" 
<[EMAIL PROTECTED]> wrote:
>
> can you post the code for your datagrid and the webservice?
> 
> 
> --- In [email protected], "bghoward3" <billhoward@> wrote:
> >
> > i am populating a datagrid via a web service, i am succesfully 
making 
> > the connection and pulling in data however when the datagrid 
populates 
> > no text appears in the grid. i know it is filling it with data 
because 
> > the correct number of lines are added to the grid when the 
connection 
> > is made, it just does not seem to display the content
> > 
> > any thoughts?
> > 
> > thank you
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to