I have a filter on the unbound grid which is \"[colA] = 1 OR ([colA] = 2)\"... a very simple one.
Still doesnt work. it filters for 1 only (for first filter in the collection).
Column a = new Column(\"colA\", \"colA\");
Column b = new Column(\"colB\", \"colB\");
Column c = new Column(\"colC\", \"colC\");
public Form2()
{
InitializeComponent();
flyGrid1.Columns.Items.Add(a);
:arrow: flyGrid1.Columns.Items.Add(b);
flyGrid1.Columns.Items.Add(c);
for (int i = 0; i < 5; i++)
{
flyGrid1.Rows.Items.Insert(0, new Node(new object[] {i, \"Const\", \"Var\"}));
}
}
private void button1_Click(object sender, EventArgs e)
{
//Demo for broken filtering
a.Filter.Filters.Clear();
a.Filter.Filters.Add(new FilterItem(1, FilterOperator.Or, ConditionOperator.Equals));
a.Filter.Filters.Add(new FilterItem(2, FilterOperator.Or, ConditionOperator.Equals));
}