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''ve bound a DataTable to a GDBG. When data is loaded for the first time, the first datarow (a multirow record) is preselected by default. Can I specify a property so that this DOESN''T happen? Please advise.
Thanks,
Atith
ADAdministrator Syncfusion Team September 15, 2005 11:05 AM UTC
Hi Atith,
GridDataBoundGrid will have only one cell in focus when loaded first time. If you have set ListBoxSelectionMode to SelectionMode.One you will have the first row selected. If you wish to move the current cell and the selections. Try this code below
this.gridDataBoundGrid1.CurrentCell.MoveTo(-1,-1);
this.gridDataBoundGrid1.Selections.Clear();
Best regards,
Stanley