Edit this page

Insert and Remove Data

RadVirtualGrid exposes an API for inserting and removing rows and columns at given index. This can be achieved through the following methods:

The methods for removing a row or column cannot be utilized for pinned rows or columns

  • InsertNewRowAtIndex(int index): Increases the table capacity by adding a row at given index

  • InsertNewColumnAtIndex(int index): Increases the table capacity by adding a column at given index

  • RemoveRowAtIndex(int index): Decreases the capacity of the table by removing a row at given index

  • RemoveColumnAtIndex(int index): Decreases the capacity of the table by removing a column at given index

When inserting a row or a column, the control simply increases its capacity. Updating the source collection with this modification needs to be done manually as well.

See Also