Update the data in pivot:
shouldComponentUpdate = (nextProps) => {
const {data, showPivot} = nextProps;
if (showPivot) {
$$ ('pivot'). show ();
$$ ('pivot'). parse (data);
} else {
$$ ('pivot'). hide ();
}
return false;
};
The problem is that the fieldMap has also changed. How to update fieldMap in pivot?