We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Master detail gdbg sorting question

Thread ID:





4145 Apr 30,2003 11:42 AM UTC Apr 30,2003 08:39 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 30, 2003 11:42 AM UTC

Hi I have 2 dataset's tables Master and Detail linked by dataset foreign key. I have 2 GridDataBoundGrid bounded one to Master and other to foreign key MasterDetail. All this work well BUT i need MasterDetail GDBG to be sorted on some column (saying PosInList)_without_ _user_ _intervention_ (clicking header). How can i implement this ? DefaultView - useless, datagrid ignore defaultView (i don't know why). TIA Alex

Administrator [Syncfusion]
Replied On April 30, 2003 08:39 PM UTC

I think you can sort the master grid if you get the DataView from the CurrencyManager. CurrencyManager cm = (CurrencyManager) this.BindingContext[this.masterGrid1.DataSource, this.masterGrid1.DataMember]; DataView dv = (DataView) cm.List; dv.Sort = "ParentName desc";


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon