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

Customize the Datatable #19

Closed
philmarc opened this issue Feb 26, 2016 · 1 comment
Closed

Customize the Datatable #19

philmarc opened this issue Feb 26, 2016 · 1 comment

Comments

@philmarc
Copy link
Contributor

I want to add the CSS class "table-condensed" to the <table class="table dataTable no-footer" id="dataTableBuilder">

Where can I do that?

@ozdemirburak
Copy link
Owner

Within the /resources/views/partials/admin/datatable.blade.php file,

Change the,

{!! $dataTable->table() !!}

to

{!! $dataTable->table(['id' => 'dataTableBuilder', 'class' => 'table dataTable no-footer']) !!}

If this doesn't fix your issue, feel free to re-open the issue.

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

No branches or pull requests

2 participants