Comments (4)
I get the same error using CDN v9.0.0
from simple-datatables.
I get also the same error
from simple-datatables.
I don't know if this workaround helps you @HiroyukiMakita @enriqc3 @Monkey999Human?
I set the data using data: { headings: headings, data: data }
I changed my <table id="myTable"></table>
to <div id="myTable"></div>
.
Now mytable.destroy() and doing mytable = new simpleDatatables.DataTable(tableElement, { myOptions }) works again.
Not sure if something isn't correctly reset or cached when using a table-element?
The ctor of the datatable contains:
if (dom instanceof HTMLTableElement) {
this.dom = dom
} else {
this.dom = document.createElement("table")
dom.appendChild(this.dom)
}
So maybe because the table-element is created instead of using the existing one fixes it?
from simple-datatables.
Fixed in version 9.0.1. Thanks for reporting @HiroyukiMakita!
from simple-datatables.
Related Issues (20)
- [BUG] Cant get Template to work... HOT 1
- [REQUEST] Row Group
- multiSearch not working for me HOT 5
- Title/field headings HOT 5
- Support for colgroup
- [BUG] init() method has no options parameter anymore? HOT 6
- events cannot be fired in the chrome environment HOT 2
- [BUG] A form field element should have an id or name attribute - HTML validity
- [BUG] Can't sort numeric columns
- [BUG] Columns.hide() and show() don't work with integer values
- Responsive Mobile HOT 8
- [Feature Request] Ability to hide rows HOT 6
- [BUG] searchQuerySeparator not working via CDN HOT 2
- [BUG] columns property not properly generated HOT 2
- [BUG] Destroying and removing the table element is not working correctly HOT 1
- [BUG] data-order HOT 1
- [BUG] attribute data-sort not working in <th> HOT 2
- Sorting with empty cells doesn't work correctly.[BUG] HOT 2
- Input Listeners not working on subsequent pages [BUG] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-datatables.