d3.js - How to remove or clear data of dc.dataTable? -
we have added line chart, time slider , data table in our html page.
when users click on 'clear all' button want remove our line chart, time slider , data table.
the line chart , time slider removed using
d3.selectall("svg").remove();
how remove / clear data table?
using jquery do
$("#clearbutton").click(function() { $("#datatable").css("display", "none"); });
where "clearbutton" id of button , "datatable" id of data table html element.
Comments
Post a Comment