This is a migrated thread and some comments may be shown as answers.

Filtering bug!

3 Answers 171 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Louis asked on 03 Oct 2007, 03:05 PM
ok, I've enabled the filtering on my grid and put the default Filter for each column to StartsWith like this

colTxt.Filter = new ColumnFilterData(GridKnownFunction.StartsWith);

Now when i enter some text in the filter area the filter does not occur and when i erase the filter string the grid throws an execption stating that the object is not defined (Null)...

Could you put me on your payrole please :)

3 Answers, 1 is accepted

Sort by
0
Louis
Top achievements
Rank 1
answered on 03 Oct 2007, 03:41 PM
ok it seems that we must set all parameters like this:

colClass.Filter = new ColumnFilterData(colClass, string.Empty, GridKnownFunction.EqualTo);

but this is still a bug to me.

And what about datetime columns. I'm trying this 

colDate.Filter = new ColumnFilterData(colDate, string.Empty, GridKnownFunction.StartsWith);

the grid throws an exception cannot do like between string and date???

0
Louis
Top achievements
Rank 1
answered on 03 Oct 2007, 05:03 PM
Noted another problem when navigating from one filter cell to another using the tab key. When i enter a letter the cursor is shifted to the previous cell ?

Is there a fix?
0
Jack
Telerik team
answered on 04 Oct 2007, 04:14 PM
Hi Louis ,

Please, excuse us for the inconvenience. We reproduced the issue with the tab key locally. Your points have been updated for this report. The fix will be available in the next service pack, due next week.

Regarding ColumnFilterData constructor you have a point, we will hide all constructors that cause confusion. Currently we have a limited support for DateTime columns in grid filtering. StartsWith function is not available for such columns.

Thank you for your suggestions and feedback.

 
Kind regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Louis
Top achievements
Rank 1
Answers by
Louis
Top achievements
Rank 1
Jack
Telerik team
Share this question
or