We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Submit all filters from all FilterBar inputs

Thread ID:





128027 Dec 27,2016 07:21 PM UTC Dec 28,2016 01:01 PM UTC JavaScript 1
Tags: ejGrid
Asked On December 27, 2016 07:21 PM UTC

I have been fiddling around trying to develop a clean way to submit all of the filters from my filter bar. I have the filterbar mode set to onEnter only. If i were to edit two of the filter box input and click enter in only one, the query submitted only has the changed from the input box that i pressed enter in. I have not come up with a clean solution that does not require a lot of workaround. The only solution i can come up with is to manually clear the query and recreate it it manually and submit it back to my dataSource. 

I also cannot find a way to dynamically grab all data if there is any from the FilterBar.

        var gridObj = $("#Grid").data("ejGrid");
        // Gets filter bar of grid control
        var collection = gridObj.getFilterBar()[0].cells;
        var elem0 = collection.item(0);

There is not much i can even do with the object that is passed from the dom element gridObj.getFilterBar() that allows me to dynamically go through all of the input boxes.

I am hoping it is possible to update a query to have the results from all of input boxes instead of just the one i click enter from.

Thank You

Jayaprakash Kamaraj [Syncfusion]
Replied On December 28, 2016 01:01 PM UTC

Hi Diamond, 
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.  
Jayaprakash K.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon