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

Add filter builder to kendo grid

1 Answer 284 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Logan
Top achievements
Rank 1
Veteran
Logan asked on 11 May 2020, 08:15 PM

I was wondering if it was possible use the filter builder with the kendo grid?

  I have been having a number of problems:

1) when i tried to use the Kendo MVC fluent to build my datasource external to the grid nothing ever got output to the page.  ei no script was generated

2) when i created the javascript by hand the grid loaded i was able to associate it with the filter and the grid and it appeared i was able to build custom filters, but the filter never bound to the DataSourceRequest request.filter on the controller during a read. This is what is put into the querystring (note i manually put the canimpersonateonly=true)?canImpersonateOnly=True&take=50&skip=0&page=1&pageSize=50&filter%5Blogic%5D=and&filter%5Bfilters%5D%5B0%5D%5Bfield%5D=UvaId&filter%5Bfilters%5D%5B0%5D%5Bvalue%5D=ksa&filter%5Bfilters%5D%5B0%5D%5Boperator%5D=eq  

Do you have any samples that use the external filter builder along with the kendo grid in asp.net mvc?

 

 

Thanks,

Logan

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 14 May 2020, 01:32 PM

Hi Logan,

In order to determine what is causing the two mentioned issues I would kindly like to ask you to share with us the problematic views code so we could examine the setup.

As for an example that illustrates a possible realization you can check this demo. Bear in mind that here the server operations for the datasource are disabled but if they are enabled the filter information should be send back to the server.

Regards,
Angel Petrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Filter
Asked by
Logan
Top achievements
Rank 1
Veteran
Answers by
Angel Petrov
Telerik team
Share this question
or