Skip to main content
Tab

GridViewLayoutItemCollection.AddColumnItem(String) Method

Creates a new item assigned to the specified column name and adds it to the GridViewLayoutItemCollection collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewColumnLayoutItem AddColumnItem(
    string columnName
)

Parameters

Name Type Description
columnName String

A String value that identifies a column assigned to the current item. The specified string can be either: a column name, field name, or caption.

Returns

Type Description
GridViewColumnLayoutItem

An GridViewColumnLayoutItem object that is the newly added layout item.

See Also