OK thats gr8 u did it .. On Fri, Dec 31, 2010 at 12:52 PM, phani pvr <pvr87ph...@gmail.com> wrote:
> Hi Vikram Singh, > > Ya I have given like that only. But here i forgot to give it. > Anyways problem is resolved . > Thanks alot for all replies. > Problem is because of Flex 3.2 (In this it is not coming). I changed to > Flex 3.5 , Now working fine. Now able to see data in the datagrid. > > Thanks one and all. > > Regards, > Phani. > > > On Fri, Dec 31, 2010 at 11:29 AM, vikram singh < > virendravikra...@gmail.com> wrote: > >> >> Can u try this while giving ur dataprovider >> >> <mx:DataGrid dataProvider="{empList}"> >> >> On Thu, Dec 30, 2010 at 7:14 PM, phani pvr <pvr87ph...@gmail.com>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 < >>> rajeshdeshmukh...@gmail.com> 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 <pvr87ph...@gmail.com>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 flex_in...@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>>> . >>>>> 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 flex_in...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>> . >>>> 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 flex_in...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>> . >>> 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 flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> 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 flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > 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 flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.