Coder Social home page Coder Social logo

light-grid's People

Contributors

michaldudak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

light-grid's Issues

Plunker examples request

Can you please put some plunker examples? I think it would be very much useful for new comers to see this. And I couldn't make it work either because you made the website demo with a special js file which is minified and not known what are dependencies are required.

Bower package

Hello,
Can you make a bower package of your component?
I think it's more easier to use at end.

Regards,
Armand.

Server side light grid does not get data correctly

When using light grid with server side provider it does not get data correctly. It fetches them, but returns empty array. Probably it's because sendRequest method uses $http.success instead of $http.then.

Improper page number when filtering list

Problem occurs when using ServerDataProvider.
Repro steps:

  1. go to the last page

image

  1. try to search for something that is on the first page

image

  1. page number is incorrect - we stay on the last page but there is only one containing the search result

image

The problem is that we are sending "begin" parameter, for example 40, but we don't know how many items the server will return after filtering.

Possible solution that seems to work is to reset begin parameter before sending filtering request to the server (serverDataProvider.js line 161):

this.filter = function (expression) {
    viewSettings.limitTo.begin = 0;
    var requestSettings = {
        filter: {
            expression: expression
        }
    };

    updateFilters(requestSettings);
};

Sort Directive

Sort Directive is not working , as well as gris setting sortBy

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.