We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

getting a row pos

Thread ID:

Created:

Updated:

Platform:

Replies:

24209 Jan 30,2005 11:41 PM UTC Jan 31,2005 06:37 AM UTC WinForms 1
loading
Tags: GridControl
Ash
Asked On January 30, 2005 11:41 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;