Coder Social home page Coder Social logo

greppy-frontend's Introduction

Greppy Frontend logo

The Greppy frontend library extends Bootstrap. It provides classes for simple handling of modals, a complete data grid implementation with AJAX-based search, sorting and pagination. It also includes many bindings to the Greppy Framework.

For more details take a look at greppy.org or the Greppy API. If you got any problems, a wish to contribute or to discuss new features take a look at our #greppy IRC channel on freenode.

Gittip npm Downloads npm Version

Installation

To install the Greppy frontend library just run:

$ bower install greppy

Development

To start with developing this project you need the dependencies which enable you to build the minified/compressed versions of their full versions. To setup the environment just run:

$ npm install

To build the minified versions simply run:

$ make build

greppy-frontend's People

Contributors

deadlysilence avatar jack12816 avatar nabil1337 avatar r2-g2 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

greppy-frontend's Issues

When changing the pagination limit, current page number might be too high

When changing the pagination limit from a rather low number (e. g. 10) to a higher one (e. g. 100), while on a page number higher than one, the page number may sometimes not be available with the higher pagination limit.

Example:

One has 100 items and is on page 5, while having a pagination limit of 10 items per page. This means, one's currently viewing items 41-50.
If one would now set the pagination limit to 100 items per page, the current page - which is still 5 - simply doesn't exist, because there are not enough items.

Possible solution:

  • Check available items (or at least available pages)
  • If the current page is too high, jump back to the highest page available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.