I wonder how to add a fixed table into QGIS layout.
I've tried this solution but it doesn't work :
model = MyOwnQgsFeatureFilterModel(layout)
tableEnsemble = QgsLayoutFrame(layout, model)
tableEnsemble.attemptMove(QgsLayoutPoint(float(tblEnsbl.minX), float(tblEnsbl.minY), QgsUnitTypes.LayoutMillimeters))
tableEnsemble.attemptResize(QgsLayoutSize(float(tblEnsbl.maxX), float(tblEnsbl.maxY), QgsUnitTypes.LayoutMillimeters))
layout.addLayoutItem(tableEnsemble)
I get an empty table like this "multiframe":
Instead, I want the table frame I created myself in the layout, not by code.
tblEnsbl
?