AD
Administrator
Syncfusion Team
October 27, 2006 01:09 PM UTC
Hi Sat,
Use the TableDescriptor.RecordFilter property to manages the rowfilter in a grid. Here is a code snippet
//For maintable...
//Addthe filter...
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("[parentID] = 1");
//Remove the filter..
this.gridGroupingControl1.TableDescriptor.RecordFilters.Remove("parentID");
//For any table...
//Addthe filter...
this.gridGroupingControl1.GetTableDescriptor(""TableName"").RecordFilters.Add("[parentID] = 1");
//Remove the filter..
this.gridGroupingControl1.GetTableDescriptor("TableName").RecordFilters.Remove("parentID");
Best Regards,
Haneef