def value_for_index(self, column_index):
    for field in self.field:
        if (field.index == column_index):
            return field.text
    raise FieldMissing(('There is no field for %s' % column_index))
def value_for_index(self, column_index):
    for field in self.field:
        if (field.index == column_index):
            return field.text
    raise FieldMissing(('There is no field for %s' % column_index))