BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void button1_Click(object sender, System.EventArgs e) { RecordFilterDescriptor rf = new RecordFilterDescriptor("ParentDec", new FilterCondition(FilterCompareOperator.Equals,"desc2")); this.gridGroupingControl1.TableDescriptor.RecordFilters.Add(rf); }Here is a sample. http://www.syncfusion.com/Support/user/uploads/GGC_CM_8bb56774.zip
private void groupingGrid1_TableControlDrawCellDisplayText(object sender, GridTableControlDrawCellDisplayTextEventArgs e) { GridTableCellStyleInfo style = (GridTableCellStyleInfo) e.Inner.Style; if (style.TableCellIdentity.TableCellType == GridTableCellType.FilterBarCell && style.TableCellIdentity.Column.MappingName == "ContactTitle") { e.Inner.DisplayText = "Criteria"; } }
public string criteria = ""; private void groupingGrid1_TableControlDrawCellDisplayText(object sender, GridTableControlDrawCellDisplayTextEventArgs e) { GridTableCellStyleInfo style = (GridTableCellStyleInfo) e.Inner.Style; if (style.TableCellIdentity.TableCellType == GridTableCellType.FilterBarCell && style.TableCellIdentity.Column.MappingName == "ContactTitle" && criteria.Length > 0) { e.Inner.DisplayText = criteria; } } private void button1_Click(object sender, System.EventArgs e) { Record rec = this.groupingGrid1.Table.AddNewRecord; int row = this.groupingGrid1.Table.DisplayElements.IndexOf(rec); int field = this.groupingGrid1.TableDescriptor.NameToField("ContactName"); int col = this.groupingGrid1.TableDescriptor.FieldToColIndex(field); criteria = "CriteriaText"; this.groupingGrid1.TableControl.RefreshRange(GridRangeInfo.Row(row-1)); }