Thanks Akshar and Vimal. I will investigate based on your suggestions and will post my findings.
--Mohneesh On Mar 13, 2:59 am, VN <[email protected]> wrote: > Hi, > > I think you are seeing a bug in groupingcollection class. If you have > null vaues in grouping column you'll get this error. You have to use a > custom groupingFunction. > > try this > > private function > groupByGroupingFunction(data:Object,field:GroupingField):String > { > var dataValue:String = data[field.name]; > if(!dataValue) > { > dataValue = "N/A"; > } > > you have to use this function like this > groupingField.groupingFunction = groupByGroupingFunction; > I do this in actionscript. you can figure out how to set this in MXML. > > V > groupingField.groupingFunction = > On Mar 11, 10:45 am, mohneesh <[email protected]> wrote: > > > > > Hi Everyone, > > > I am exploring AdvancedDataGrid's Grouping Collection and has been > > experiencing a problem which is very inconsistent. This problem occurs > > when I change the data provider of the advanced data grid. Script > > error that I get > > > TypeError: Error #1010: A term is undefined and has no properties. > > at mx.controls.listClasses::AdvancedListBase/ > > makeRowsAndColumnsWithExtraRows() > > at mx.controls.listClasses::AdvancedListBase/ > > updateDisplayList() > > at mx.controls::AdvancedDataGridBaseEx/updateDisplayList() > > at mx.controls::AdvancedDataGrid/updateDisplayList() > > at mx.controls.listClasses::AdvancedListBase/ > > validateDisplayList() > > at mx.managers::LayoutManager/validateDisplayList() > > at mx.managers::LayoutManager/doPhasedInstantiation() > > at Function/http://adobe.com/AS3/2006/builtin::apply() > > at mx.core::UIComponent/callLaterDispatcher2() > > at mx.core::UIComponent/callLaterDispatcher() > > > I tried looking into the code of AdvancedListBase and found error is > > happening because of a attribute verticalScrollPosition which has a > > value -1. > > > Anyone has any idea on why this error will happen? Any help will be > > much appreciated. -- 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.

