6

We are currently using something called QueryBuilderWidget that is based on script.aculo.us. This was implemented a while back, and I can't find the project's site anymore. But, it looks very similar to YUI's Query Builder.

The functionality is fine, but we don't use scriptaculous for anything else. The rest of the site uses jQuery or straight JavaScript. I'm looking for a module with similar features that is either straight JavaScript or jQuery. I have seen this plugin, and I could use that as a starting point, if there isn't anything else.

4 Answers 4

3

I recently released a JavaScript SQL query builder which works in the browser and with node.js - http://squeljs.org

Sign up to request clarification or add additional context in comments.

2 Comments

That's interesting, but I'm more interested in the UI portion. I'm looking for something that makes it easy for an end user to filter data.
@Raynos only the source is in CoffeeScript. The main library is actually pre-compiled and minified Javascript.
3

Possibly too late but I'm working on a JavaScript SQL Builder UI that will do joins etc http://redquerybuilder.appspot.com/ that might be of interest. At an early stage but I'm very interested in what features people think are missing/broken.

3 Comments

I'll give it a try. Any thoughts on allowing ORs instead of just ANDs?
Definitely. It is going to be part of the next milestone. I've got to have a proper think about how to make it clear to the user in what order the expression is going to be evaluated. My current preference is for "pretty printing" but I'm worried that is just clear to geeks so I need to test it out on non-technical users.
I've put a first stab at and/or up. My email address is on there now if you want more detailed help.
1

I've been looking for a web-based ad-hoc 'pivot table' style UI, and stumbled on http://mistic100.github.io/jQuery-QueryBuilder/index.html which seems to do a nice job with the filter/where clause piece.

Comments

0

From here you could find your answer

https://github.com/gantir/jsexpbuilder

You can also customize it as per your requirement

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.