code: def _update_rows(self):
          
          for row, item in enumerate(self._items):
              item.row = row  # Row is the Parent item
              item.column = 0
          
          for column, item in enumerate(self._columns):
              item.row = self.row  # Row is the Parent item
              item.column = column
docs: Update the row and column numbers of child items.