Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation forwards to Kendo's filter configuration, but Kendo uses it's own operators #272

Open
W1nstar opened this issue Jan 3, 2020 · 2 comments

Comments

@W1nstar
Copy link

W1nstar commented Jan 3, 2020

Hello,

I've been reading docs and at some point we get forwarded to

https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/filter

In order to configure our own filters. On that page there are operators that are unknown to the JSDO ablFilter convert method, like "doesnotstartwith"

You can check the method and see there are less than on the docs

whereOperators = {

Is it a Kendo propietary thing? Will they ever be implemented?

@edselg
Copy link
Contributor

edselg commented Jan 3, 2020

Hello,

It is a limitation.
It looks like "doesnotstartwith" and other operators where added to the Kendo UI DataSource in a recent version after we had implement the filters in the JSDO.
The JSDO support for the filters was not updated to match the new operators. I would like to add support for the new operators.

How does this limitation impact you or your customers?
BTW, how do you consume the JSDO? Do you install it from npmjs.com.

If we implement the functionality would you be able to use from there?
Link:

I hope this helps.

@W1nstar
Copy link
Author

W1nstar commented Jan 7, 2020

It's a very nice operator. At least one I'd use a lot. Without that operator I'm bound to add two fields as filter depending on what I need. For example, if I don't want any record starting with a $ sign, I need to add a gte and a lte operators, wich adds complexity.

I personally went with downloading and modifying the whole package. I had to enable localStorage emulation, but I'm not in a nativescript or web environment, for example. I had that infinite loop issue I posted last summer. So, I put progress.jsdo.js on one of projects folders and worked with it, since I was finding issues that I needed to correct. I keep checking if there's a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants