Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap3 integrity #47

Open
dohomi opened this issue Jul 26, 2014 · 2 comments
Open

bootstrap3 integrity #47

dohomi opened this issue Jul 26, 2014 · 2 comments
Labels

Comments

@dohomi
Copy link

dohomi commented Jul 26, 2014

Hello,

I tried to use the bootstrap-3 plugin from the DataTables source, but the plugin html-structure is getting ignored. Not sure if this is an issue of this package but I would be curious if anyone got this running:
http://datatables.net/examples/styling/bootstrap.html
https://github.com/DataTables/Plugins/tree/master/integration/bootstrap/3
Would be great if this plugin would provide the inclusion automatically, I guess there are many people using Bootstrap 3 currently. Thanks

@gjolund
Copy link
Contributor

gjolund commented Jul 31, 2014

Hi @dohomi

I took the approach that people would include bootstrap ( or any other css framework ) of their own accord through another package.

I haven't tried using the bootstrap plugin however, what are the advantages over just including bootstrap in a more direct fashion?

@dohomi
Copy link
Author

dohomi commented Aug 1, 2014

@austinrivas with the bootstrap files included and including the options it works quite good, you can close this issue. Thanks

    return {
  (...)
        options: {
            sDom: "<'row'<'col-xs-6'l><'col-xs-6'f>r>" + "t" + "<'row'<'col-xs-6'i><'col-xs-6'p>>",
            "pagingType": "full_numbers",
            "oLanguage": {
                "sLengthMenu": "_MENU_",
                "sSearch": "",
                "sSearchPlaceholder": "Search",
                "oPaginate": {
                    "sPrevious": "<i class='fa fa-chevron-left'></i>",
                    "sNext": "<i class='fa fa-chevron-right'></i>"
                }
            },
        },
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants