Working with QGIS 2.14.10x64
in Windows 7 in the QGIS Python Console
I've managed to create a new print composer from a template, and update the layers in the map, and I'd now like to update the associate Composer Attribute Table. But when I use:
table = printcomposer['QgsComposition'].getComposerItemById('table')
I get a QgsComposerFrame
object which doesn't inherit the the QgsComposerAttributeTable
methods and can't seem to find any methods to access contents within the frame. Comparing table.uuid()
with the uuid in the print composer shows that they are both the same.