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.
I have a datagrid that is bound to a datatable. The datatable.defaultview can be sorted and filtered.
The user has selected row #1 which has a column of caseid = "Case123". The user changes the sort of the grid from caseid to the column of closeddate. Row #1 is now caseid = "Case987" and caseid "Case123" is now row #10. The selected row is still row #1. I want to keep the selected row on "case123" (now row #10) after the sort change.
I tried datatable.defaultview.find("Case123"), but this requires changing the sort back to the
caseid. Any ideas on how to reset the selected row (currentrowindex) the original selected caseid of "Case123"?