Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnCollection.Remove Method

Name Parameters Description
Remove(Func<Int32, Boolean>) predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Func<Int32, Boolean>) first, predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Int32, Func<Int32, Boolean>) first, last, predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Int32) index, count Removes multiple columns from a worksheet.
Remove(Int32) index Removes the column at the specified position from the worksheet.
Remove(String, String) firstColumnHeading, lastColumnHeading Removes multiple columns from a worksheet.
Remove(String) columnHeading Removes a column with the specified heading from the worksheet.