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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Column Search

Thread ID:

Created:

Updated:

Platform:

Replies:

45364 Jun 19,2006 10:15 AM Jun 21,2006 01:02 AM Windows Forms 4
loading
Tags: GridControl
Shashi
Asked On June 19, 2006 10:15 AM

Hi, I want to Search Grid based on first column and also after search that row should be selected.any idea. Regards shashi

Administrator [Syncfusion]
Replied On June 19, 2006 11:19 AM

Hi Shashi, Do you need the Primary Column Search? if so, there is no built-in searching facility in the grid. You will have to write your own. If you want to search the row by the primary key column then you can generate the key column as per your requirement and add it to the GridControl. Then find the text in the Key Column using the attached sample. It might be fairly quick to do this. Here is a sample that has a fast way of searching text by moving it to an arraylist. Also refer the forum thread for more details. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=4509 Let me know if you need any further assistance. Regards, Haneef

Shashi
Replied On June 20, 2006 12:54 AM

Hi Haneef, The column is not a primary column. I want to search in first column (varchar)and if it is found that row should be highlighted. Regards, shashi

Administrator [Syncfusion]
Replied On June 20, 2006 02:01 PM

Hi Shashi, Please refer to the attached sample, which will help you to get the intended behavior. Sample : Find_Mark.zip Also, refer to the following forum threads. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=43742 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=41538 Let us know if this helps. Thanks, Haneef

Shashi
Replied On June 21, 2006 01:02 AM

Hi Haneef, Thanks for your response.This works great. Thanks shashi

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.

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.

;