Hi James,
Thanks for being patience.
This can be achieved by using the GridConditionalFormatDescriptor and deleting the records based on the condition. The following is the code snippet, please try it and let us know if you need any further assistance.
>>>>>>>>>>>>>>>>>>Code Snippet <<<<<<<<<<<<<<<<<<<<
GridConditionalFormatDescriptor desc = new GridConditionalFormatDescriptor();
desc.Expression = "[CustomerID] LIKE 'A*'";
this.gridGroupingControl1.TableDescriptor.ConditionalFormats.Add(desc);
foreach (Record rec in this.gridGroupingControl1.Table.Records)
if (desc.CompareRecord(rec))
rec.Delete();
>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<
Please refer to the following sample for more details
CondnlFormatDesc.zipKindly let us know if you need any further assistance.
Have a nice day.
Best regards,
Madhan