Back to Devexpress

MVCxGridViewColumnCollection.Add Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxgridviewcolumncollection-dot-add.md

latest1.5 KB
Original Source

MVCxGridViewColumnCollection.Add Method

NameParametersDescription
Add()noneAdds a new column to the end of the collection and returns the newly created object.
Add(Action<MVCxGridViewColumn>)methodAdds a new column to the collection and allows you to customize this column in a delegate method implementation.
Add(String, MVCxGridViewColumnType)fieldName, columnTypeAdds a new column to the collection and specifies the column’s type and bound field name.
Add(String, String, MVCxGridViewColumnType)fieldName, caption, columnTypeAdds a new column to the collection and specifies the column’s caption, type and bound field name.
Add(String, String)fieldName, captionAdds a new column to the collection and specifies the column’s caption and bound field name.
Add(String)fieldNameAdds a new column to the collection and specifies the column’s bound field name.