Declined
Last Updated: 01 Mar 2019 11:49 by ADMIN
Radhika
Created on: 25 Feb 2019 11:03
Category: Kendo UI for jQuery
Type: Bug Report
0
Kendo grid filter is not working

Hi,

I am facing an issue with Kendo grid ,i.e. Having more than one filter present in a grid and then deleting any one filter entry and clicking FILTER (or just pressing ENTER on keyboard) clears ALL filters.

In my Kendo grid , when I apply a filter to 2 columns, first I apply filter to numeric column which results in no value and, after that I applies the filter to a string column combined with numeric column which also results to no value, Nothing is displayed. But when I remove the value from textbox of numeric column and enter filter, no data is being displayed as string column filter is there but in case I remove the value from textbox of string column and enter filter , numeric column filter also gets removed. I also checked the Kendo functionality , but didn't find any solution for this problem.

 

Here's the code for Kendo Grid Filter which is causing the above issue.

 

 

 

    $scope.DemoGrid = {
        columns: [
            { field: 'ID', title: "ID", template: "<span><a href='' class='link-default' ng-click='getDetails(\"#=ID#\")'>#=ID#</a></span>" }, 
            { field: 'Type', filterable: false, title: "Type" },
            { field: 'Name', title: "Name", template: "<span>#=Name# </span>" },
            {
                field: 'Date', title: "Date", type: "date", format: "{0:dd-MMM-yyyy}", parseFormats: ["dd/MM/yyyy"],
                filterable: {
                    ui: function (element) {
                        element.kendoDatePicker({
                            format: "dd-MMM-yyyy",
                            parseFormats: ["dd/MM/yyyy"]
                        });
                    }
                }
            }
            ,
            { field: '', title: 'Action', template: "<span><a href=\'" + DemoDownloadApi + "?id=#=DownloadId#\' role='button' class='btn btn-blue-primary'>Download</a></a></span>" },
            { field: "DownloadId", hidden: true, sortable: false },
        ],

        pageable: {
            buttonCount: 5,
            pageSizes: [10, 20, 50, 100, 'All'],
            input: true,
            //refresh: false,
            messages: {
                display: Msg1,
                empty: Msg2
            }
        },
        sortable: true,
        dataSource: DemoDataSource,
        autoBind: false,
        filterable: true,
        scrollable: false,
        resizable: true,

    };

1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 01 Mar 2019 11:49
Hi, Radhika,

I have already replied to you in the post regarding the same issue.

Please provide the data source configuration in the other thread as this is a duplicate and will be closed:

https://feedback.telerik.com/kendo-jquery-ui/1362463-kendo-grid-filter-is-not-working

Thank you in advance for your understanding in this matter.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.