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

How to override filtering functionality

1 Answer 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Naseem
Top achievements
Rank 1
Naseem asked on 21 Oct 2011, 01:14 AM
Hi,

I'm using telerik GridView. In the GridView, the first row is blank row for inserting new row (1.jpg).

The issue comes when user wants to do filtering. For example if user choose any filters , since the blank row is not incuded in the filter result, the blank row will be gone (2.jpg). My client wants to see the blank row even when he's doing filtering.

I thought to override Filtering event. When ever user check any filter check boxes , automatically the blank filter check box would be checked as well .In that case when the filtering occurs, automatically blank row will be included in result. But I don't know how I can implement that ! Is there any way to override the filtering functionality as I want? I mean I get the filter that has been selected and do filtering on data by my self.
 
I was wondering if Custom filtering can be a solution for me?

Many thanks,

Naseem

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Oct 2011, 09:47 AM
Hi Naseem,

 Why not use our insert row instead? (ShowInsertRow="True")?

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Naseem
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or