code: def updateRows(self, rows):
      for r in self.rowNames[:]:
          if r not in rows:
              self.removeRow(r)
      for r in rows:
          if r not in self.rowNames:
              self.addRow(r)
  
file_path: pyqtgraph/pyqtgraph/widgets/CheckTable.py
imports: from ..Qt import QtCore, QtWidgets
  from .None import VerticalLabel
label_desc: Use image node_id 2 for calling the CheckTable obj's underlying member method code with example usage: obj.updateRows(rows) without return types