code: def setTableType( self, tableType ):
          
          self.detailWidget().setTableType(tableType)
          self.queryWidget().setTableType(tableType)
docs: Sets the table type for this widget to the inputed type.
          
          :param      tableType | <orb.Table>