Hello experts!
I have a GridView, with a column that is filtered like this:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
..............
gridview1.DataSource = data;
string fString = "filter";
FilterExpression filter = new FilterExpression(FilterExpression.BinaryOperation.AND, GridKnownFunction.Contains, fString.ToString());
gridview1.Columns["filtered_column"].Filter = filter;
...............
}
It works fine, but when I try to set the No Filter option to that column, it does nothing. It's supposed to show all the rows, but it still shows the filtered ones.
How I can solve this?
Thanks for your help!
I have a GridView, with a column that is filtered like this:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
..............
gridview1.DataSource = data;
string fString = "filter";
FilterExpression filter = new FilterExpression(FilterExpression.BinaryOperation.AND, GridKnownFunction.Contains, fString.ToString());
gridview1.Columns["filtered_column"].Filter = filter;
...............
}
It works fine, but when I try to set the No Filter option to that column, it does nothing. It's supposed to show all the rows, but it still shows the filtered ones.
How I can solve this?
Thanks for your help!