DuplicateRows Method (SapGridView)

Class

SapGridView.

Action

Duplicates the given range of rows.

The parameter rows is a comma-separated string of indices or index ranges, for example '3,5-8,14,15'. For any single index a copy of the row will be inserted at the given index. If a range of indexes is duplicated then all the new lines are inserted as a single block before the old lines. The entries must be ordered and the ranges must not overlap,

Syntax

C#
gridView.DuplicateRows(rows)
VB
gridView.DuplicateRows(rows)
Variable Description
rows The rows to duplicate. String.