Is there an easy way to:
1. Disable the population of a filter dropdown with the values from a column it belongs to, so it would contail only "empty", "all" and "custom".
2. Intercepting the event when "custom" clicked?
ADAdministrator Syncfusion Team June 24, 2005 05:14 PM
Here is a forum thread that has a sample showing how you can customize the filterbar cell in a GridGroupingControl.
IVIvanJune 24, 2005 05:36 PM
Thank you. According to this example I need to overwrite the FillWithChoices, something like this:
private bool autoFilter=true;
public override void FillWithChoices(ListBox listBox, GridStyleInfo style, out bool exclusive)
base.FillWithChoices (listBox, style, out exclusive);
for(int i=3; i
ADAdministrator Syncfusion Team June 24, 2005 06:38 PM
In the method you listed, you can cast the style to a GridTableCellStyleInfo and from there you can get the column. Then you can conditionally change the droplist.
GridTableCellStyleInfo tStyle = style as GridTableCellStyleInfo;
string field = tStyle.TableCellIdentity.Column.Name;