[CLOSED] client side filtering in gridpanel

  1. #1

    [CLOSED] client side filtering in gridpanel

    Hi,

    I am using the latest Ext.Net code, I have just synchronized to make sure this isn't fixed already.
    I have a buffered data grid using client side sorting and filtering. Since starting to use the latest (beta!) code from svn the filtering isn't working.
    I have a text box in the column header of my grid that automatically applies a filter based on the text typed in the text box.
    Another way of saying this is that above each column is a text box, when you type in it the grid is filtered by that text in that column.

    The problem:
    The grid filters don't work, they used to in the previous version (2.1)
    When the grid panel loads the console gets this error message: Uncaught TypeError: Object [object Object] has no method 'filterBy'.

    Here's the function that's doing the filter:

    function filterSearchGridField(fld) {
        var grd = fld.up('grid');
        var filterData = fld.value;
        var filter = grd.filters.getFilter(fld.idProperty);
    
        if(filterData == '') {
            filter.setActive(false);
            return;
        }
    
        filter.setValue(filterData);
        filter.setActive(true);
    }
    'idProperty' is a custom property that identifies the column.
    No errors are thrown in this function I just added it in case it helps.


    Any idea's why the grid filters have stopped working? Any suggestions are appreciated :) thanks in advance
    Last edited by Daniil; Mar 14, 2013 at 9:48 AM. Reason: [CLOSED]
  2. #2
    Hi Eddie,

    It is hard to say what can be wrong.

    Could you, please, provide a test case to reproduce?

Similar Threads

  1. Bind data to GridPanel Client Side
    By AnandVishnu in forum 1.x Help
    Replies: 1
    Last Post: Sep 14, 2011, 12:18 PM
  2. Client-side validation for gridpanel editor
    By fquintero in forum 1.x Help
    Replies: 1
    Last Post: Oct 07, 2009, 10:39 AM
  3. Gridpanel = Get Selected Row Index - Client Side
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Sep 15, 2009, 11:23 PM
  4. GridPanel - enable on client side
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Apr 28, 2009, 8:48 PM
  5. [CLOSED] gridpanel row select client side
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 20, 2009, 12:50 PM

Tags for this Thread

Posting Permissions