grid columns: added conditions