Add funtion that can remove a column from the data grid

#2724