Skip to content

jQuery plugin offering an interface to create complex queries

License

Notifications You must be signed in to change notification settings

mistic100/jQuery-QueryBuilder

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb4f8ea · Nov 18, 2016
Oct 22, 2016
Oct 22, 2016
Nov 15, 2016
Nov 18, 2016
Nov 15, 2016
Sep 6, 2016
Apr 18, 2016
Jan 16, 2016
Jan 16, 2016
Aug 2, 2016
Sep 7, 2016
Oct 15, 2016
Mar 18, 2015
Feb 22, 2016
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016

Repository files navigation

jQuery QueryBuilder

Bower version CDN Build Status Coverage Status

jQuery plugin offering an simple interface to create complex queries.

screenshot

Documentation

http://querybuilder.js.org

Dependencies

  • jQuery >= 1.10
  • Bootstrap >= 3.1 (CSS only)
  • jQuery.extendext
  • doT.js (@master until the author decide to publish a new version)
  • MomentJS (optional, for Date/Time validation)
  • Other Bootstrap/jQuery plugins used by plugins

($.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
  • Ruby Dev: apt-get install ruby-dev
  • Grunt CLI: npm install -g grunt-cli
  • Bower: npm install -g bower
  • SASS: gem install sass

Run

Install Node and Bower dependencies npm install & bower 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 list_modules to get the list of available plugins and languages.
  • grunt describe_triggers to get the list of all triggers.
  • grunt describe_errors to get the list of all fatal errors.
  • grunt watch to automatically build the library when modifying the source files.

Inspiration