Declined
Last Updated: 19 Jun 2017 09:52 by ADMIN
ADMIN
Dimitar
Created on: 14 Jun 2017 08:31
Category: GridView
Type: Feature Request
1
ADD. RadGridView - one should be able to set default FilterOperator for each column.

		
3 comments
ADMIN
Stefan
Posted on: 19 Jun 2017 09:52
It can, just set the Operator to None:
            desc.Operator = FilterOperator.None;
Damian
Posted on: 15 Jun 2017 18:43
The no filter operator cannot be set programmatically
ADMIN
Stefan
Posted on: 15 Jun 2017 13:30
The proper way to change the default filter operator for a column is to add a FilterDecriptor for it with the Operator set and to also set its IsFilterEditor property.

            FilterDescriptor desc = new FilterDescriptor();
            desc.PropertyName = "col1";
            desc.IsFilterEditor = true;
            desc.Operator = FilterOperator.EndsWith;
            radGridView1.Columns[0].FilterDescriptor = desc;

More information is available here: http://docs.telerik.com/devtools/winforms/gridview/filtering/setting-filters-programmatically-(simple-descriptors)#using-simple-filterdescriptor