update fieldMap

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?

Hello,
As soon as new data is loaded in Pivot, you can update the fieldMap via define method
Please check this: https://snippet.webix.com/pr04lmad