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

Filtering Issues (Several)

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 08 Feb 2009, 08:53 PM
Hi,

I am having a few problems with Filters in the RadGrid.

My environment is Q3 2008, Dot Net 3.5 and I am mostly using FireFox as my Browser.

  1. I think you need to put something into the FilterItem Text boxes when the filter function is something that does not take arguments (e.g. Is Null, Is Not Null and so on). When the grid is displayed it is not clear that filtering has been applied in these cases

    In fact, it might also be nice if it was immediately clear to the user whether Contains, Startswith, EndsWith, Equals and son on are being used.

    You have an example of some JavaScript to allow fairly sophisticated text entry into the filter boxes folllowed by pressing the Enter key - which I feel you could embed into the RadGrid functionality as a property (else we programemrs are continually pasting in chunks of code). You could extend the idea so that user gets more feedback about which filters are being applied
  2. I have AutoPostBackOnFilter set to True (so i can use the javascript mentioned above). When I implement the GridDateTimeColumn I get a Date picker in my filter (which is absoultely great - and perhpas you ought to point this out in the documentation about column types - where you suggest that in non-edit mode there is no difference with a GridBoundColumn). My problem is that when I select a date from the picker, and before I get a chance to select the Filter Function, the postback occurs.

    Yes, i can disable AutoPostBack for Date Columns, but it would be nice to get both features.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 11 Feb 2009, 01:51 PM
Hello Andrew,

As you may know RadGrid is using RadContextMenu as a filtering menu. Thus depending on the skin the current filter option will be highlighted in the context menu.

As to your other question I'm not sure if I have understand you fully. However you may use RadGrid client-side API in order to build and filter on more complex expression without the need of AutoPostBackOnFilter  option.

Sincerely yours,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or