AD
Administrator
Syncfusion Team
September 16, 2004 07:42 PM UTC
There is currently no Find support. One thing you can do is to filter for the string, save the record, then undo the filter, and then set the current cell.
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("[City] LIKE ''City of Toronto''");
GridRecord rec = this.gridGroupingControl1.Table.FilteredRecords[0] as GridRecord;
this.gridGroupingControl1.TableDescriptor.RecordFilters.Clear();
int row = this.gridGroupingControl1.Table.DisplayElements.IndexOf(rec);
int col = this.gridGroupingControl1.TableDescriptor.VisibleColumns.IndexOf("Col1");
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(row, col + 1);