Coder Social home page Coder Social logo

meteor-datatables-bootstrap3's Introduction

##What is it? This is a package built for use Datatables 1.10.11 with Meteor and Bootstrap 3 library, using the ian:bootstrap-3 as a basis (but it should work with any other bootstrap package).

##How to install meteor add lc3t35:datatables-bootstrap3

##How to run tests meteor test-packages meteor-datatables-bootstrap3/

Tests results

##HTML & Javascript quick start

<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="example">
    <thead>
       <tr>
          <th>Rendering engine</th>
          <th>Browser</th>
          <th>Platform(s)</th>
          <th>Engine version</th>
          <th>CSS grade</th>
        </tr>
      </thead>
      <tbody>
        <tr class="odd gradeX">
          <td>Trident</td>
          <td>Internet
             Explorer 4.0</td>
          <td>Win 95+</td>
          <td class="center"> 4</td>
          <td class="center">X</td>
        </tr>
        </tbody>
    </table>

$('#example').dataTable();
$('.datatable').dataTable({"sPaginationType": "bs_normal"});
$('.datatable').dataTable({"sPaginationType": "bs_two_button"});
$('.datatable').dataTable({"sPaginationType": "bs_four_button"});
$('.datatable').dataTable({"sPaginationType": "bs_full"});

You can learn more about the DataTables API here.

meteor-datatables-bootstrap3's People

Contributors

lc3t35 avatar

Stargazers

wiserweb avatar

Watchers

James Cloos avatar  avatar

Forkers

oskarszoon

meteor-datatables-bootstrap3's Issues

Search bar text

Hi mate. I was wondering why the bootstrap three version does not display "search" next to the search input? I usually does with jQuery dataTables.

Cheers, thanks for the package!

Datatables Issues with Joining of Collections (publish composite) - Meteor JS

Hi,

I am using loftsteinn:datatables-bootstrap3 (https://github.com/oskarszoon/meteor-datatables-bootstrap3/) which is forked from your code. I am trying to display the data using joining of two collections, for Joining of collections I am using : https://atmospherejs.com/reywood/publish-composite.

The Issue : as the data gets fetched and the page gets rendered with the table it shows 0 records, but after a few seconds rows get populated and datatable gets filled but still shows 0 records.

To Counter this issue I have to set timeout for few seconds and then it shows correctly.

Is there any better way, as I feel that in case the data gets increased, I may face issues again.

Thanks and Best Regards,
Manu

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.