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.
Syncfusion Feedback

Auto-locate the first cell matching the typed chars

Thread ID:

Created:

Updated:

Platform:

Replies:

18670 Sep 7,2004 10:46 AM UTC Sep 7,2004 11:50 AM UTC Windows Forms 1
loading
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

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

;