code: def _refreshNodeFromTarget(self):
          
          tableModel = self.tableInspector.model
  
          # Disable row height and column with settings for large headers (too slow otherwise)
          if tableModel.rowCount() >= RESET_HEADERS_AT_SIZE:
              self.autoRowHeightCti.data = False
              self.model.emitDataChanged(self.autoRowHeightCti)
              self.autoRowHeightCti.enable = False
          else:
              self.autoRowHeightCti.enable = True
  
          if tableModel.columnCount() >= RESET_HEADERS_AT_SIZE:
              self.autoColWidthCti.data  = False
              self.model.emitDataChanged(self.autoColWidthCti)
              self.autoColWidthCti.enable = False
          else:
              self.autoColWidthCti.enable = True
docs: Refreshes the TableInspectorCti from the TableInspector target it monitors.
  
              Disables auto-sizing of the header sizes for very large headers (> 10000 elements).
              Otherwise the resizing may take to long and the program will hang.