BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Here is a forum thread that discusses this task. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25998
foreach(GridColumnDescriptor column inthis.gridGroupingControl1.TableDescriptor.Columns)
{
column.AllowFilter = true;
//To disable the "Custom" item from the dropdown of the filterbar cell
column.FilterRowOptions.AllowCustomFilter = false;
//To disable the "Empty" item from the dropdown of the filterbar cell
column.FilterRowOptions.AllowEmptyFilter = false;
}
//To get the FilterBarCellModel
GridTableFilterBarCellModel model =this.gridGroupingControl1.TableModel.CellModels["FilterBarCell"] asGridTableFilterBarCellModel;
//To set the custom text for "All"
model.SelectAllText = "LocalizedAllText";
//To set the custom text for "Custom"
model.SelectCustomText = "LocalizedCustomText";
//To set the custom text for "Empty"
model.SelectEmptyText = "LocalizedEmptyText";
|