AlanMcCann / jQuery-QueryBuilder

jQuery plugin offering an interface to create complex queries

Home Page:http://mistic100.github.io/jQuery-QueryBuilder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery QueryBuilder

Bower version Build Status Coverage Status

jQuery plugin offering an simple interface to create complex queries.

Documentation

http://mistic100.github.io/jQuery-QueryBuilder

Dependencies

  • Bootstrap >= 3.1 (CSS only)
  • jQuery >= 1.9
  • jQuery.extendext
  • (optional) MomentJS for date/time validation
  • (optional) some JS components used by plugins

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

Browser support

  • Internet Explorer >= 10 (9 with various shims)
  • Mozilla FireFox ??
  • Google Chrome ??
  • Opera ??
  • Safari ??

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 --modules :

# include "sql-support" plugin
grunt --modules=sql-support

# disable all modules
grunt --modules=false

All plugins are included by default.

You can also include ONE language with --lang :

# include French translation
grunt --lang=fr

Other commands

  • grunt test to run JSHint and the QUnit test suite.
  • grunt list_modules to get the list of available plugins and languages.
  • grunt watch to automatically build the library when modifying source files.

Inspiration

About

jQuery plugin offering an interface to create complex queries

http://mistic100.github.io/jQuery-QueryBuilder

License:MIT License


Languages

Language:JavaScript 92.1%Language:CSS 4.6%Language:HTML 3.4%