

def get_rows_drag_value(self, rows):
    ' Return the value to use when the specified rows are dragged or\n        copied and pasted. rows is a list of row indexes. '
    row_values = []
    for rindex in rows:
        row = []
        for model in self.data:
            new_data = model.get_rows_drag_value([rindex])
            if isinstance(new_data, list):
                row.extend(new_data)
            else:
                row.append(new_data)
        row_values.append(row)
    return row_values

dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/grid/composite_grid_model.py CompositeGridModel.get_rows_drag_value/original