You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'));
The text was updated successfully, but these errors were encountered:
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'));
The text was updated successfully, but these errors were encountered: