The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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";