★ wanayoo — archive 1999 https://github.com/OneWayTech/vue2-datatable/pull/87Nouvelle recherche | Portail wanayoo
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

Support Boostrap 4 in settings menu #87

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@drount
Copy link

@drount drount commented Mar 12, 2018

No description provided.

Sergio Lopez
@kenberkeley
Copy link
Collaborator

@kenberkeley kenberkeley commented Mar 13, 2018

#77

@maltere
Copy link

@maltere maltere commented Mar 14, 2018

I would also prefer a bootstrap4 compatible version, as I do not want to depend on old bootstrap3 for new projects, as well as I understand that bootstrap3 is still in use by many projects.

@kenberkeley
Copy link
Collaborator

@kenberkeley kenberkeley commented Mar 14, 2018

make a different branch (bs4) would be better?

@roszell
Copy link

@roszell roszell commented Mar 14, 2018 •

It seems like this could be supported by adding a named/scoped slot, so that HeaderSettings could be turned off and an alternate implementation could be provided using whatever ui framework the user chooses, for example:

<div v-if="$slots.default || $slots['customHeaderSettings'] || HeaderSettings" class="clearfix" style="margin-bottom: 10px">
    <header-settings v-if="HeaderSettings" class="pull-right" :columns="columns" :support-backup="supportBackup">
    </header-settings>
    <slot />
    <slot name="customHeaderSettings" :columns="columns" :support-backup="supportBackup"
    </slot>
</div>

JsFiddle showing how a template could be provided in the named/scoped slot:
https://jsfiddle.net/g5oc1rgq/128/
maltere added a commit to maltere/vue2-datatable that referenced this pull request Apr 2, 2018
This Fork is going to be a Bootstrap 4 solution.
This merge is going to add Bootstrap 4 compatability.
Maybe there has to be some more changes to the src.

Proposed in OneWayTech#87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.