OverviewExamples
-- Delete the leftmost column
Grid.DeleteColumn("Grid1", 0, true);
Deletes the leftmost column from the grid
-- Get the number of columns
totalColumns = Grid.GetColumnCount("Grid1");
-- Delete the rightmost column
Grid.DeleteColumn("Grid1", totalColumns - 1, true);
-- note: the -1 is because the columns in the grid are zero based.
Deletes the rightmost column from the grid
See also: Related Actions