I am developing a widget that provides functionality for the user to add and remove tabs as well as filter tables in the Attribute Table widget based on definition queries derived from selected values in 3 ComboBoxes. When the user closes the widget I need to be able to "reset" the Attribute Table widget to the state that it was when the app initially loads.
I am seeing strange behavior when I programmatically add the original tabs that were within the Attribute Table's TabContainer before the user opened my custom widget. Sometimes the column headers will display at the bottom of the tab and one of the tabs is just blank. At this point I am thinking that a possible solution would be to cause the Attribute Table widget to be recreated when the user closes my custom widget.