dc-js / dc.datatables.js Goto Github PK
View Code? Open in Web Editor NEWintegration of datatables.js with dc.js
License: Other
integration of datatables.js with dc.js
License: Other
In the dc-datatables example at https://dc-js.github.io/dc.datatables.js the "Reset all" link gives an error:
Uncaught TypeError: charts[i].filterAll is not a function
dc-tableview has a lot more features than this library.
I wrote this library as a proof of concept because I didn't think we should add a ton of features to dc.dataTable
when datatables.js is a whole ecosystem in itself. I didn't know about dc-tableview at the time.
It was pretty easy to get basic functionality, but there is a lot more that could be done, and it looks like @karenpommeroy has done much more, including #6 grouping.
I haven't done a detailed comparison, but if there are any features here that are missing there, we could contribute them.
I am wondering if it is possible to enable x-scrolling in dc_datatable? I tried adding it using datatables.js after made a dc_datatables.datatable chart but it seems there is a conflict.
I have got dc.datatables working within my project, however it appears that there is no default styling being applied? Is this on purpose? I can see in the web folder, you have copied the 'jquery.datatables.css' file from the datatables.net-dt package. Is this the recommended way to apply styling to the dc.datatable as opposed to having a css file within the dc.datatables package which is applied by default but can be overridden?
This is what the datatable looks like with no styling (created using titanic dataset).
What is the reason _group
functionality has been disabled for dc.datatables?
In the dc.datatables.js
file I can see you have stated this is for compatibility reasons. However, on a project I am currently working on this functionality would be really useful.
Thanks
In the dc datatables example at https://dc-js.github.io/dc.datatables.js, changing the value in the .size() method does not change the default length (number of entries) of the datatable.
Suggested Enhancement: Vertical Page Fitting
In datatables you can set the number of records shown per page with the top left drop-down menu. This feature is useful if you adjust the size of the container based on number of rows shown. In a case where the container has a set size and you want the datatable to fill the vertical space I believe it would be of use to have an option to set the table to fill vertically.
I've come across this plug in on datatables.net which fit's the datatable to the vertical size of its container:
https://datatables.net/blog/2015-04-10
Could this be added to the dc.datatables package? I presume the option could be set through the exposed dt object?
Thanks
Jack
I am trying to integrate this package with my existing project but am currently unable to correctly import due to a ' ERROR in ./node_modules/dc.datatables/dc.datatables.js' where it cannot resolve dc_datatables.
By importing in a similar way to dc :
import * as dctable from 'dc.datatables';
), i get a 'cannot find module' error.
By importing the file directly:
(import * as dctable from 'dc.datatables/dc.datatables'
) the 'Can't resolve dc_datatables error is produced.
Hi Please create CDN @gordonwoodhull
It's sad, but we still have to support that old dead browser, despite the fact that Microsoft doesn't.
In dc-js/dc.js#1391 (comment), @sgavathe reported:
https://dc-js.github.io/dc.datatables.js/ this sample not working in IE 11. In order to get it working with your sample, do i need to downgrade DC.JS to lower version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.