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 a datagrid with a dataview as datasource.
I aplied a filter dataview.rowfilter to the dataview and I need to make the CurrenCell the first row that return the filtered dataview.
How do I do that.
The code:
public class mydatagrid : datagrid
{
...
protected override bool ProcessCmdKey(.....
{
//***
Dataview myDataview = (DataView) this.Datasource;
myDataView.Sort = "productid ASC";
myDataView.RowFilter = ("productid LIKE '1*'");
//How do i get the row number of the rows after
//the filter, and make the CurrentCell of the
//datagrid the first row after the filter
return base.ProcessCmdKey(ref msg,keyData);
}
}