Check model before buildColumns and formatColumns.