cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div id="app">
 <div id="table-wrapper" class="ui container">
   <h2><strong>&lt;Vuetable-2&gt;</strong> with Bootstrap 3</h2>
  <vuetable ref="vuetable"
    <template slot="actions" scope="props">
      <div class="table-button-container">
          <button class="btn btn-warning btn-sm" @click="editRow(props.rowData)">
            <span class="glyphicon glyphicon-pencil"></span> Edit</button>&nbsp;&nbsp;
          <button class="btn btn-danger btn-sm" @click="deleteRow(props.rowData)">
            <span class="glyphicon glyphicon-trash"></span> Delete</button>&nbsp;&nbsp;
    <vuetable-pagination ref="pagination"
              #app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;

.orange.glyphicon {
  color: orange;

th.sortable {
  color: #ec971f;


new Vue({
  el: '#app',
  components: {
   'vuetable-pagination': Vuetable.VuetablePagination
  data: {
    fields: [
        name: 'name', 
        title: '<span class="orange glyphicon glyphicon-user"></span> Full Name',
        sortField: 'name'
        name: 'email',
        title: 'Email',
        sortField: 'email'
        name: 'gender',
        title: 'Gender',
        sortField: 'gender'
    sortOrder: [
      { field: 'name', direction: 'asc' }
    css: {
      table: {
        tableClass: 'table table-striped table-bordered table-hovered',
        loadingClass: 'loading',
        ascendingIcon: 'glyphicon glyphicon-chevron-up',
        descendingIcon: 'glyphicon glyphicon-chevron-down',
        handleIcon: 'glyphicon glyphicon-menu-hamburger',
      pagination: {
        infoClass: 'pull-left',
        wrapperClass: 'vuetable-pagination pull-right',
        activeClass: 'btn-primary',
        disabledClass: 'disabled',
        pageClass: 'btn btn-border',
        linkClass: 'btn btn-border',
        icons: {
          first: '',
          prev: '',
          next: '',
          last: '',
    return {headers: {'Authorization': "my-token"}} //table props -> :http-options="httpOptions"
 methods: {
    onPaginationData (paginationData) {
    onChangePage (page) {
      alert("You clicked edit on"+ JSON.stringify(rowData))
      alert("You clicked delete on"+ JSON.stringify(rowData))
    onLoading() {
      console.log('loading... show your spinner here')
    onLoaded() {
      console.log('loaded! .. hide your spinner here')
Loading ..................