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. Image for the cookie policy date

Grid Column Search

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

4 Replies

AD Administrator Syncfusion Team June 19, 2006 03:19 PM UTC

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


SH Shashi June 20, 2006 04:54 AM UTC

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


AD Administrator Syncfusion Team June 20, 2006 06:01 PM UTC

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


SH Shashi June 21, 2006 05:02 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon