Giter VIP home page Giter VIP logo

Comments (2)

seabiscuityj avatar seabiscuityj commented on July 2, 2024

可以看到表头筛选控件,但是点击后没有反应,而且浏览器Console输出:

Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at HTMLButtonElement. (bootstrap-advanced-sortable.js:456:73)
at HTMLDivElement.dispatch (jquery.min.js:2:42571)
at v.handle (jquery.min.js:2:40572)
将bootstrap-table的search属性设置为fasle后,报错消失。貌似是bootstrap-table自带的搜索框和sortable控件的搜索框冲突?

from bootstrap-advanced-sortable.

Westsyan avatar Westsyan commented on July 2, 2024

1.这个可能是因为你传入的json格式有问题,在初始化控件时我用了JSON.parse()函数;
2.可以同时使用bootstrap-table自带的搜索框和本控件,不冲突的,设为false时报错消失,是因为此时控件没有启用

from bootstrap-advanced-sortable.

Related Issues (9)

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.