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

Auto-locate the first cell matching the typed chars

Thread ID:





18670 Sep 7,2004 10:46 AM UTC Sep 7,2004 11:50 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 7, 2004 10:46 AM UTC

in DataGroupingControl, I want to type any chars such as type "Toro" in an cell of a column "City", It will auto search the column and locate to the first row matching the typed chars "Toro" such as a cell with "Toronto". How can I do it? TIA

Administrator [Syncfusion]
Replied On September 7, 2004 11:50 AM UTC

Hi, you can get a hold of the FieldDescriptor and then you can loop through records with FieldDescriptor fd = groupingControl.TableDescriptor.Fields["City"]; foreach (Record r in groupingControl.Table.FilteredRecord) { string s = r.GetValue(fd).ToString(); if (s.StartsWith("Toro")) { r.SetCurrent(); break; } Stefan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon