Giter Club home page Giter Club logo

Comments (8)

rtd62 avatar rtd62 commented on May 18, 2024 4

For those needing to add DataTables - add the following lines to the files below (was actually way easier than anticipated):

dashboard.js

shim: { 'datatables': ['bootstrap', 'jquery'], }, paths: { 'datatables.net': "assets/jquery.dataTables.min", 'datatables' : "assets/dataTables.bootstrap4.min" }

The file you're using the table in
<script type="text/javascript"> requirejs(["datatables"], function() { var oTable= $('#users').dataTable({ }); }); </script>

Also, don't forget to add the CSS in the header. Save the files where you would like and make sure they are called to those places in the paths.

If I am missing anything, please feel free to critique -- it's my first time dealing with require.js.

from tabler.

codecalm avatar codecalm commented on May 18, 2024 3

it will be probably one library
I'm working with new inputs on http://tabler.codecalm.net/new-inputs/form-elements.html

from tabler.

lucasmaldonado avatar lucasmaldonado commented on May 18, 2024 2

@codecalm Hello, what is the status of the datepicker?. It is highly needed. I went to check the new inputs http://tabler.codecalm.net/new-inputs/form-elements.html but the datepicker is not working.

Thank you very much!

from tabler.

 avatar commented on May 18, 2024

datepicker, timepicker, datetimepicker as 1 library or 3 different libraries?

from tabler.

akhileshdarjee avatar akhileshdarjee commented on May 18, 2024

Bootstrap datepicker like below:
https://eonasdan.github.io/bootstrap-datetimepicker/

You can also find the timepicker on the same page. A different and convenient timepicker would be good :)

Datatables:
https://datatables.net

Integrating all the above libraries with tabler theme layout.

For Datepicker, you can decorate it with the layout of calender from your page:
https://tabler.github.io/tabler/sample-cards.html

from tabler.

simioluwatomi avatar simioluwatomi commented on May 18, 2024

You forgot to include Select2 and Typeahead in your list.

from tabler.

akhileshdarjee avatar akhileshdarjee commented on May 18, 2024

@codecalm : Instead of typeahead, I would recommend you to use default jQuery autocomplete.
Sharing the customized autocomplete code:
https://codepen.io/akhileshdarjee/pen/jxOvWX

You are free to use the code on tabler.

from tabler.

chillios-dev avatar chillios-dev commented on May 18, 2024

Hi all, We started v1 version. We will add it as a feature request to vote which part should be applied before / right-after release. Stay tuned!

from tabler.

Related Issues (20)

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.