How to override filtering functionality

2 posts, 0 answers
  1. Naseem
    Naseem avatar
    70 posts
    Member since:
    Nov 2010

    Posted 20 Oct 2011 Link to this post


    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,

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 21 Oct 2011 Link to this post

    Hi Naseem,

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

    All the best,
    the Telerik team

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

Back to Top