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
close icon

Auto-locate the first cell matching the typed chars

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon