so u could try with dataField=data.name something like that On Thu, Dec 30, 2010 at 7:14 PM, phani pvr <[email protected]> wrote: > Hi Rajesh, > Thanks for the reply. > Here the problem is also not with the datafield. I checked number of times. > And i am not using XMLListCollection here , it is arrayCollection. So i have > given like this > In the backend(Java) the list is List<Employee> (Employee -> it is the > bean). > So this list i get it from backend(Java) to frontend(Flex) and assigned to > Datagrid. > <mx:DataGrid dataProvider="empList"> (empList -> nothing but the > arrayCollection) > <mx:columns> > <mx:DataGridColumn headerText="Name" dataField="name"/> // (Because of the > Object(Employee) here , i have given 'dataField = name' (which is the field > in Employee bean) ). > </mx:columns> > </mx:dataGrid> > Regards, > Phani. > > > On Thu, Dec 30, 2010 at 6:24 PM, Rajesh Deshmukh > <[email protected]> wrote: >> >> Hi, >> >> I guess the dataprovider is correct but the dataField is incorrect. Just >> check you are usind dataField properly and if it is XMLList or >> XMLListCollection you need to add "@" for attributes. >> >> like >> >> <data name="xyz"/> >> >> then to assign use dataField = "@name". >> >> >> This scenario comes if you are using XML related data other wise just >> check the dataField is proper... >> >> >> Regards, >> Rajesh >> >> On Thu, Dec 30, 2010 at 12:56 PM, phani pvr <[email protected]> wrote: >>> >>> Hi Every one, >>> >>> Basically, the requirement is to fetch the data from database and show >>> it in a datagrid . Here I successfully retrived the data from >>> database(Mysql) and also got it to the frontend(Flex). I assigned the >>> list(which i have fetched) to the dataprovider for the datagrid. My >>> data consists of almost 600 records. I got the full data in the >>> datagrid , but the problem is that i am not able to see it. I have >>> also seen the scroll in the datagrid. The data is not visible. What >>> may be the problem ? >>> >>> Please any one help me regarding this issue. >>> Thanks in Advance. >>> >>> Regards, >>> Phani. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. >
-- With Regards, Rashmi MS 09481255023 -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

