Skip to content
jQuery plugin offering an interface to create complex queries
Branch: dev
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update contributing and PR template Feb 7, 2018
build jsdoc: fix events links and plugins definition Apr 6, 2017
examples Fix #691 : clear root data, flags and condition on reset May 6, 2018
src Added Lithuanian translation (#766) Feb 22, 2019
tests Fix #687 : Negation doubled when using setRulesFromSQL May 1, 2018
.editorconfig Close #334 sql-support compatible with custom methods Nov 9, 2016
.gitignore a LOT of jsDoc Feb 12, 2017
.jscsrc
.jsdoc.json
.jshintrc add JSCS and SCSS lint Jan 16, 2016
.npmignore
.sass-lint.yml
.travis.yml Use only NPM Mar 10, 2018
Gruntfile.js
LICENSE
README.md
bower.json
composer.json
package.json

README.md

jQuery QueryBuilder

npm version jsDelivr CDN Build Status Coverage Status Dependencies Status

jQuery plugin offering an simple interface to create complex queries.

screenshot

Documentation

querybuilder.js.org

Install

Manually

Download the latest release

With Bower

$ bower install jQuery-QueryBuilder

With npm

$ npm install jQuery-QueryBuilder

Via CDN

jQuery-QueryBuilder is available on jsDelivr.

Dependencies

($.extendext and doT.js are directly included in the standalone file)

Browser support

  • Internet Explorer >= 9
  • All other recent browsers

Build

Prerequisites

  • NodeJS + NPM: apt-get install nodejs-legacy npm
  • Grunt CLI: npm install -g grunt-cli

Run

Install Node dependencies npm install then run grunt in the root directory to generate production files inside dist.

Options

You can choose which plugins to include with --plugins :

# include "sql-support" and "mongodb-support" plugins
grunt --plugins=sql-support,mongodb-support

# disable all plugins
grunt --plugins=false

All plugins are included by default.

You can also include language files with --languages :

# include French & Italian translation
grunt --languages=fr,it

Other commands

  • grunt test to run jshint/jscs/scsslint and the QUnit test suite.
  • grunt serve to open the example page with automatic build and livereload.
  • grunt doc to generate the documentation.

License

This library is available under the MIT license.

You can’t perform that action at this time.