Jowin/Datatables-Bootstrap3
Acerca de
Plugin for Datatables Bootstrap3 UI Compatibility
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalFork info
This fork has the following changes:
- Bidirectional CSS file to support both left-to-right and right-to-left layouts
- Control over pagination icon classes (for RTL support) via the following
oLanguageparameters:sIconClassFirst(default:glyphicon glyphicon-chevron-backward)sIconClassLast(default:glyphicon glyphicon-chevron-forward)sIconClassPrevious(default:glyphicon glyphicon-chevron-left)sIconClassNext(default:glyphicon glyphicon-chevron-right)
- Notes in the CSS on how to use Font Awesome for the sorting icons (hopefully better support is coming to upstream in 1.10 - see this)
Note to self: Revisit all of this once 1.10 is released and see what can be thrown away.
Datatables-Bootstrap3
Quick Start
Copy these files and the images inside assets to your project and include them in the page.
- assets/css/datatables.css
- assets/js/datatables.js
- assets/images/*
Please note : If you copy the images to a folder other than images in your project, be sure to update the image path in the datatables.css file.
Pagination types
Normal:
//Default Type $('.datatable').dataTable(); $('.datatable').dataTable({"sPaginationType": "bs_normal"});Two Buttons:
$('.datatable').dataTable({"sPaginationType": "bs_two_button"});Four Buttons:
$('.datatable').dataTable({"sPaginationType": "bs_four_button"});Full :
$('.datatable').dataTable({"sPaginationType": "bs_full"});
Note: These are extended pagination types without modifying the existing pagination types.
License
[Included as per request of an user in github] This is an extension of datatables and shares some code with the existing jquery datatables. License of datatables might apply to this plugin as well by way of inheritance.
As far as license for this plugin goes, here is the gist:
- No attribution in any form is needed.
- I accept no responsibility if this plugin breaks / cause any issue in your project.
- Do not sell this plugin by itself as a commercial project however you can include this freely as part of any project (commercial or otherwise).
Explorar proyectos relacionados
Cargando…