def _swapRows(self, a, b):
    for i in range(self.FIELDS_GRID_COLUMNS):
        va = self.fieldsGrid.GetCellValue(a, i)
        vb = self.fieldsGrid.GetCellValue(b, i)
        self.fieldsGrid.SetCellValue(a, i, vb)
        self.fieldsGrid.SetCellValue(b, i, va)
def _swapRows(self, a, b):
    for i in range(self.FIELDS_GRID_COLUMNS):
        va = self.fieldsGrid.GetCellValue(a, i)
        vb = self.fieldsGrid.GetCellValue(b, i)
        self.fieldsGrid.SetCellValue(a, i, vb)
        self.fieldsGrid.SetCellValue(b, i, va)