GridViewLayoutItemCollection.AddColumnItem(String, String) Method
In This Article
Creates a new item with the specified settings and adds it to the GridViewLayoutItemCollection collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewColumnLayoutItem AddColumnItem(
string columnName,
string caption
)
#Parameters
Name | Type | Description |
---|---|---|
column |
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. |
caption | String | A String value specifying the item caption. |
#Returns
Type | Description |
---|---|
Grid |
A Grid |
See Also