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

Grid filters with integer columns

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin Meyer
Top achievements
Rank 1
Kevin Meyer asked on 25 Mar 2008, 06:43 PM
I have a grid with an ID column bound to an Int32.  Users are unable to clear the value in the filter without choosing "No Filter".  If they clear the text box and hit enter (to apply the filter), the previous value appears.  This wasn't a problem in Q3 2007 SP1 because filters were string comparisons.

It would be helpful to be able to optionally filter on string representations of strongly typed objects.  This would enable users to clear filters simply by clearing the filter text box, and would allow for options such as 'Starts With'.

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 26 Mar 2008, 01:22 PM
Hi Kevin,

The Starts With, Ends With and Contains filters only make sense in the context of a string column. If you insist on enabling those filters on numeric columns, I would suggest using unbound string column duplicating the content of the numeric column.
 
 
Sincerely yours,
Evtim
the Telerik team

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