Skip to content

Nice, sleek and intuitive. A grid control especially designed for bootstrap.

License

Notifications You must be signed in to change notification settings

opnsense/jquery-bootgrid

 
 

Repository files navigation

jQuery Bootgrid Plugin Build Status Bower version NuGet version NPM version Gratipay

Nice, sleek and intuitive. A grid control especially designed for bootstrap.

Getting Started

jQuery Bootgrid is a UI component written for jQuery and Bootstrap (Bootstrap isn't necessarily required).

Everything you need to start quickly is:

  1. Include jQuery, jQuery Bootgrid and Bootstrap libraries in your HTML code.
  2. Define your table layout and your data columns by adding the data-column-id attribute.
  3. Specify your data URL used to fill your data table and set ajax option to true directly on your table via data API.
<!DOCTYPE html>
<html>
    <head>
        <title>Demo</title>
        <meta charset="utf-8">
        <!-- Styles -->
        <link href="bootstrap.css" rel="stylesheet">
        <link href="jquery.bootgrid.css" rel="stylesheet">
    </head>
    <body>
        <table id="grid" data-toggle="bootgrid" data-ajax="true" data-url="/api/data/basic" class="table table-condensed table-hover table-striped">
            <thead>
                <tr>
                    <th data-column-id="id">ID</th>
                    <th data-column-id="name">Sender</th>
                </tr>
            </thead>
        </table>
        <!-- Scripts -->
        <script src="jquery.js"></script> 
        <script src="jquery.bootgrid.js"></script>
    </body>
</html>

For more information check the documentation.

Examples

Examples you find here.

Reporting an Issue

Instructions will follow soon!

Asking questions

I'm always happy to help answer your questions. The best way to get quick answers is to go to stackoverflow.com and tag your questions always with jquery-bootgrid.

Building

Environment

jquery-bootgrid uses npm to install its own dependencies, and mono to build a NuGet package.

You should install both using your package manager. On macOS, this works as follows:

brew install npm
brew install mono

Build dependencies

From the folder that jquery-bootgrid resides in, run:

npm install .
sudo npm install -g grunt

Build jquery-bootgrid itself

grunt

If you are done with your modifications, you should increase the version number in boewer.json and package.json, update the changelog, and then run:

grunt release

Contributing

No instructions yet.

License

Copyright © 2014-2015 Rafael J. Staib Copyright © 2018 Deciso B.V.

Licensed under the MIT license.

About

Nice, sleek and intuitive. A grid control especially designed for bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.4%
  • CSS 2.7%
  • Less 1.1%
  • HTML 0.8%