GridViewColumnCollection.Insert(Int32, GridViewColumn) Method

Adds the specified column to the specified position within the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public void Insert(
    int index,
    GridViewColumn column
Public Sub Insert(
    index As Integer,
    column As GridViewColumn


Name Type Description
index Int32

An integer value that specifies the zero-based index at which the specified column should be inserted. If it's negative or exceeds the number of elements, an exception is raised.

column GridViewColumn

A GridViewColumn object to insert.

See Also