Giter VIP home page Giter VIP logo

bs_grid's Introduction

bs_grid's People

Contributors

dunmaksim avatar pontikis 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  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  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  avatar  avatar  avatar  avatar

Watchers

 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

bs_grid's Issues

positioning of filter/pagination

This is great work; is it possible to position the pagination/filter at the top of the grid and/or have two pagination area top/bottom? BTW I'm working on a odata wrapper that will provider to allow server side query/paging/filtering using the odata standard and transform the results into a object which can be used by the bs_grid.

Keep up the awesome work!

Any chance to export it to a file?

First, I would like to thank you for your enormous effort! It is a nice table with many possibilities and customization.... really.
Do you know any way where we could do something back for your work?

I have a question. Is there already any working on the possibility to export the current table , or is there any suitable plugin who will work with BS_grid? I saw another bootstrap themed table who's able to do that. But I found your table better constructed and well documented. 👍
Is there a possibility to do that?

And sorry for my poor English, by the way.

Server Side Filtering

Can you suggest the best way to move the filtering an pagination out to the server?

Currently working with a db with over a million records and would like to hit the db for filtering, pagination and sorting.

Problems using the grid

I like the grid's clean layout, its one of the best ive seen.

However ive got the following problems in using it:

  1. Most other jquery objects ive used return a reference to the jquery object itself when initialising it,
    eg, $grid = $("#Grid").bs_grid(...);
    that way i can refer to $grid instead of continually calling the jquery selector.
  2. Most other controls ive used gie one access to the data after it has been initialised with data.
  3. the displayGrid smells. it is doing too much, not only is it displaying data but fetching it.
    IMHO it should only display the data (as its name implies).
    You could have a method that does all of this, however there should be a method that i can call with an array of objects.

Pagination and sorting issue

Hi, I just implemented bs_grid (great plugin, thank you for publishing) and everything seems to be loading up ok but pagination and sorting tools don't work and also the entire data set seems to render, not limited by rowsPerPage or maxRowsPerPage.

Clicking pagination tools updates the toolbar output (current page, etc) but has no effect on the grid, I suppose because the entire data set is already displayed but even stranger is that the sorting tools don't do anything to the data, the appropriate icons appear but nothing changes in the grid.

No errors in the console and everything else appears to be working.

code:

$('#equipment_grid').bs_grid({
        rowsPerPage: 10,
        maxRowsPerPage: 20,
        ajaxFetchDataURL: "./fakeEquipData.php",
        row_primary_key: "EQ_ID",
        columns: [
            {field: "CU_NAME", header: "Customer"},
            {field: "LO_NAME", header: "Location"},
            {field: "ET_NAME", header: "Equipment"},
            {field: "EQ_HOSTNAME", header: "Host Name"},
            {field: "EQ_LAST_CHECK", header: "Last Check"},
            {field: "EQ_LAST_CHANGE", header: "Last State Change"},
            {field: "EQ_MESSAGE", header: "Message"},
        ],
        sorting: [
            {sortingName: "Location", field: "LO_NAME", order: "descending"},
            {sortingName: "Host name", field: "EQ_HOSTNAME", order: "none"}
        ],
        useFilters: false
    });

How to load static JSON data.

I want to load static JSON data. I can't find an example on how to do this. Only option I could find to load JSON data is through the ajaxrequest option.

filter and pagination

filters and paginations does not work with more than 2 columns
console error
Object doesn't support property or method 'sortable'

Multiple instances on the same page

This plug-in is working really well. Thanks for making it.
I am trying to implement a sub-grid embedded in another grid., i.e. multiple instances on the same page. When I sort on the sub-grid, the sub-grid sorts and displays correctly, but it seems to trigger a reload of the main grid. I think the Ajax success event is the root cause. Any clues as to what I should be doing to isolate the Ajax success events from each other?

Are pull requests accepted/welcome?

I'm using this plugin for a project at my company and extending its functionality for our use case.
Should I bother trying to push my improvements upstream? I noticed there is an unresolved PR from 2 months ago, which is why I'm wondering.

Thanks.

Προβλημα με την εγκατασταση

Καλησπέρα και συγχαρητηρια για την δουλεια σου

Δεν μπορω να καταλαβω τι κανω λαθος,
Καταβαζωω το συγκεκριμενο αρχειο https://github.com/pontikis/bs_grid/archive/master.zip

Το παιρναω στο xampp ,βαζω και την βαση, ρυθμιζω και τα name κτλ αλλα δεν μπορω να καταλαβω τι αλλο πρεπει να κανω.
Τα φωτα σου!!!!

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.