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,
In a dataBoundDataGrid, is there any anyway to get the row position (i.e the row index) given the cell value and its column index without having to loop through the Grid
Thanks
ADAdministrator Syncfusion Team January 31, 2005 06:37 AM UTC
The fastest way to do it would be to find the value directly in the datasource (skipping the grid entirely). The reason is that if you use teh grid to look for teh value, the grid has to retrieve it from your datasource. Doing all teh work in the datasource cuts out all this look it work (and teh associated events) in the grid.
That said the grid does support a Find/Replace functionality. Here are a couple of forum threads on Find. The first has a minimal sample using the grid''''s default Find/Replace support. The second has a from-scratch Find implemenation.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=14572
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=8286