Hello,
I'm trying to create a pivot grid and I want to have all my equipment even if they have no data in the pivot grid but if I add a equipment with no employee there is a row with null in it. Is there a way of hidding the row if it has null or empty but still have the column with no data?
Here is an image of what I have
If that can help here is the data I have that populate the pivot grid
const data = [
{ inspectionId: 1, Equipment: "Test1", Employee: "emp1", nbInspection:5 },
{ inspectionId: 2, Equipment: "Test1", Employee: "emp2", nbInspection:3 },
{ inspectionId: 3, Equipment: "Test2", Employee: "emp3", nbInspection:2 },
{ inspectionId: 4, Equipment: "Test2", Employee: "emp1", nbInspection:3 },
{ inspectionId: 5, Equipment: "Test2", Employee: "emp2", nbInspection:2 },
{ inspectionId: 6, Equipment: "Test3", Employee: "emp3", nbInspection:5 },
{ inspectionId: 7, Equipment: "Test3", Employee: "emp2", nbInspection:2 },
{ inspectionId: 8, Equipment: "Test3", Employee: "emp2", nbInspection:1 },
{ inspectionId: 9, Equipment: "Test3", Employee: "emp1", nbInspection:3},
{ inspectionId: 10, Equipment: "Test4", Employee: null, nbInspection:0 },
{ inspectionId: 11, Equipment: null, Employee: "emp4", nbInspection: 0 },
];