Setting correct css class for the column.