Giter Club home page Giter Club logo

vue-bootstrap-table's People

Contributors

gmsa avatar syshex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-bootstrap-table's Issues

ajax supported?

I'm very like you doing. I would like to see ajax supported.

Can make demo ajax load?

Hi write code,
I have test ajax load data but can't show,
it just show loading...
<div class="spinner"></div>

it show error
[Vue warn]: Error in callback for watcher "rawValues": "TypeError: Cannot read property 'filter' of undefined"
TypeError: Cannot read property 'filter' of undefined

I have edit file 01-basic.js
ajax: -> enabled: true, -> update link
Ajax load data of my is for same demo, but it not working

[ { "id": 1, "name": "John", "country": "UK", "age": 25, }, { "id": 2, "name": "Mary", "country": "France", "age": 30, }, { "id": 3, "name": "Ana", "country": "Portugal", "age": 20, } ]

Ability to perform XSS attack

In case we use renderfunction method to customize column output the library uses v-html directive (as per source code) to display the result. Therefore, injecting malicious code, store it on the server and then renders causes script execution.

I can suggest to use {{ }} for rendering instead of v-html directive.

Costum rendering column

Hello, i have a problem.
I tried to render a button in a column like this.
renderfunction: function (colname, entry) { return '<a href="#" class="btn btn-danger" v-on:click.once="destroy('+entry.deleted+')">'+ '<i class="fa fa-trash"></i>'+ '</a>'; }
entry.deleted is a integer got from the server after a request made by Axios
The problem is that button click not works, it doesn't call the destroy method. I think it is not "compiled" and that means it will not be handled by Vue.
How to render custom elements(like buttons) with Vue template syntax?

I'm using Vue 2

Multi Column Sorting

Hi, just came around and noticed your component. I'd like to suggest the implementation of multi column sort functionality. A feature which I often miss in table components.

Nested Objects support

If I have an Object :

{
    id: 123, 
    name: "abc", 
    properties: {
        color:"green" ,
        email: "[email protected]"
    }
}

I want to create a table with id, name and color only and not show email like this:

ID NAME COLOR
123 abc green
234 xyz red

How can I do this?

How to use this with nuxt framework

I want to use this plugin in nuxt framework. I am using vue2.
What i am trying is -
I created a plugin file - table.js and added this code there.

import Vue from 'vue';

export default ({ app, store, req }) => {
	components: {
        VueBootstrapTable: VueBootstrapTable
    }
}

and then added in nuxt.config.js

plugins: [
           { src: '~/plugins/i18n.js'},
           { src: '~/plugins/table.js'},
.....

But i am getting this error - "VueBootstrapTable is not defined"

I think i am not intirating correctlyt. It will be great if you add the steps in your read me file.

How to set sorting on initialisation?

How to set sorting on initialisation?

I would expect some setting like this:

new Vue({
   el: '#table',
   components: {
       VueBootstrapTable: VueBootstrapTable
   },
   data: {
       columns: ... ,
       values: ... ,
       sorting: ... ,
   });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.