how does your data provider(data structure) looks like ?
On Thu, Nov 12, 2009 at 8:05 PM, Balki <[email protected]> wrote: > Thanks for the response Dinukx. But, yours is not what exactly am > looking for. HeirarchialDataGrid doesn't exactly solve my problem. > Sorry if my earlier post was not intended properly. Please find > attached my exact reqmt. Am trying to simulate this in a datagrid. In > html terms, we are trying to apply a rowspan for a row which has two > values. > > Column1 Column2 > ------------------------------------------------ > | Planned <Value> > First Date | --------------------------------- > | Actual <Value> > ------------------------------------------------- > > Please let me know if you need more inputs > > On Nov 12, 3:15 pm, flexorz group of flex corders > <[email protected]> wrote: > > Hey Balki , > > you mean like this ? > > > > <mx:XML id="list"> > > <rows> > > <row> > > <name>Date1</name> > > <actual>1/8/2009</actual> > > <infor> > > <row> > > <name>planned1</name> > > <actual>1/4/2005</actual> > > </row> > > <row> > > <name>planned2</name> > > <actual>2/5/2008</actual> > > </row> > > </infor> > > </row> > > <row> > > <name>Date2</name> > > <actual>3/6/2009</actual> > > <infor> > > <row> > > <name>planned1</name> > > <actual>4/5/2008</actual> > > </row> > > <row> > > <name>planned1</name> > > <actual>5/8/2002</actual> > > </row> > > <row> > > <name>planned3</name> > > <actual>4/2/2008</actual> > > </row> > > </infor> > > </row> > > </rows> > > </mx:XML> > > > > <mx:AdvancedDataGrid width="50%" height="50%"> > > <mx:dataProvider> > > <mx:HierarchicalData source="{list.row}" childrenField="infor" > > > </mx:HierarchicalData> > > </mx:dataProvider> > > <mx:columns> > > <mx:AdvancedDataGridColumn dataField="name" /> > > <mx:AdvancedDataGridColumn dataField="actual" /> > > </mx:columns> > > </mx:AdvancedDataGrid> > > > > hope this helps > > let me know what you think. > > > > cheers > > > > Dinukx > > > > > > > > On Wed, Nov 11, 2009 at 2:06 PM, Balki <[email protected]> wrote: > > > > > Hi All > > > > > I have a requirement to display the data in a grouped manner. I have > > > some data field like date which have planned and actual dates. Is > > > there a way to show the "First Date" alone in a merged cell, as we > > > view in excel ? This is an urgent requirement and would be of immense > > > help if I get the reply ASAP. > > > > > Column1 Column2 > > > First Date Planned <Value> > > > Actual <Value> > > > > > Thanks in advance > > > Balki > > > > > --~--~---------~--~----~------------~-------~--~----~ > > > 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]<flex_india%[email protected]> > <flex_india%2bunsubscr...@googlegrouÂps.com> > > > For more options, visit this group at > > >http://groups.google.com/group/flex_india?hl=en > > > -~----------~----~----~----~------~----~------~--~---- Hide quoted text > - > > > > - Show quoted text - > > -- > > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=. > > > -- 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=.

