Mar 11, 2013, 12:34 AM
[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:
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
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]