dash-pivottable
dash-pivottable copied to clipboard
exposing clickCallback (tableOptions)
Is there a way to expose clickCallback to be able to do drilldowns? This is an added feature in react-pivottable. The javascript call for it looks like from the react demo is;
tableOptions: { clickCallback: function(e, value, filters, pivotData) { var names = []; pivotData.forEachMatchingRecord(filters, function( record ) { names.push(record.Meal); }); alert(names.join('\n'));