@classmethod
def grid_columns(cls):
    """
        Return the column names for the model, except for the excluded ones.

        Returns:
            list: A list of column names, with excluded ones removed.
        """
    columns = []
    exclude = getattr(cls, '__exclude_columns__', [])
    for col in cls.__table__.columns:
        if col.name in exclude:
            continue
        columns.append(col.name)
    return columns
