Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Filters doesnt work even for Equals operation

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Filters doesnt work even for Equals operation
Link Posted: 19-Oct-2007 00:27
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()

:arrow:             flyGrid1.Columns.Items.Add(b);

            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.Add(new FilterItem(1, FilterOperator.Or, ConditionOperator.Equals));
            a.Filter.Filters.Add(new FilterItem(2, FilterOperator.Or, ConditionOperator.Equals));
Link Posted: 19-Oct-2007 05:51
FlyGrid supports only one filtering condition in unbound mode.