Have you tried creating two views on the table and binding (setting datasource) of the two grids to different views each (possibly having its own filter)?
By default, the grid is bound to 'DefaultView' on table if the table is set as data source. -- jano On 8 February 2010 09:59, Winston Pang <winstonp...@gmail.com> wrote: > Have you tried using ICollectionView view = > CollectionViewSource.GetDefaultView(<list/source here>); > view.Filter = delegate { ... }; > > Bind Grid 2 to view. > > This is all off the top of my head, as I'm no where near visual studio > right now. > > On Mon, Feb 8, 2010 at 9:01 AM, Anthony <asale...@tpg.com.au> wrote: > >> I have 2 grid..bound to a bindingsource that has a list of customers. >> I want grid 1 to show all the customers and grid 2 to show only customers in >> a department only. >> >> >> >> *From:* ausdotnet-boun...@lists.codify.com [mailto: >> ausdotnet-boun...@lists.codify.com] *On Behalf Of *Winston Pang >> *Sent:* Sunday, 7 February 2010 8:56 PM >> *To:* 'ausDotNet' >> *Subject:* RE: sharing bindingsource amng 2 grids >> >> >> >> Not exactly understanding your problem. Could you please give a more >> concrete example of what you’re trying to do? >> >> >> >> *From:* ausdotnet-boun...@lists.codify.com [mailto: >> ausdotnet-boun...@lists.codify.com] *On Behalf Of *Anthony >> *Sent:* Sunday, 7 February 2010 12:01 PM >> *To:* 'ausDotNet' >> *Subject:* sharing bindingsource amng 2 grids >> >> >> >> Want to share a bindingsource among 2 grids(which i can do) BUT how do i >> make one grid a filtered view of the data? >> >> >> >> Is your website being >> IntelliXperienced?<http://www.intellixperience.com/signup.aspx> >> regards >> Anthony (*12QWERNB*) >> >> Is your website being IntelliXperienced? >> >> >> >> >> > >