Oh... thenI misunderstood, I thought he wanted to eliminate duplicate records.. Sorry
--- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > A filterFunction is applied to a record (item) as a whole, so that > wouldn't work. > > - Gordon > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of iko_knyphausen > Sent: Wednesday, March 21, 2007 3:59 PM > To: [email protected] > Subject: [flexcoders] Re: How do you suppress repeating values in > DataGrid columns? > > > > > I think you could write a filterFunction and have it check for > duplicates in the collection. This function could return false when a > duplicate is detected.. > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > , "Gordon Smith" gosmith@ wrote: > > > > I don't think there is an automatic way to do this in the visual > > rendering. I think you'll have write AS to loop over your data and > > create another array of records that look like > > > > Record #1: Author=John Doe Title=Advanced Cat Juggling > > Record #2: Author= Title=Surviving Cat Scratch Fever > > Record #3: Author=Bill Smith Title=The Alligator Whisperer > > Record #3: Author= Title=Living WIth One Ear > > > > - Gordon > > > > ________________________________ > > > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> > ] > On > > Behalf Of michael_p_levine > > Sent: Wednesday, March 21, 2007 3:19 PM > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] How do you suppress repeating values in DataGrid > > columns? > > > > > > > > Given data that looks like this: > > > > Record #1: Author=John Doe, Title=Advanced Cat Juggling > > Record #2: Author=John Doe, Title=Surviving Cat Scratch Fever > > Record #3: Author=Bill Smith, Title=The Alligator Whisperer > > Record #4: Author=Bill Smith, Title=Living With One Ear > > > > How do I suppress the repeating Author name values in Rows #2 and #4 > of > > a DataGrid so it looks like this? > > > > Author Title > > ------ ----- > > John Doe Advanced Cat Juggling > > Surviving Cat Scratch Fever > > Bill Smith The Alligator Whisperer > > Living With One Ear > > > > I've checked the group archives and haven't found a real answer to > this > > question. Has anyone el! se encountered and solved this? > > > > Thank you, > > Michael > > >

